Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Mismatch Sender Id when send Android Push Notifications

Hi,

I just started setting up Push notifications for Android, following this tutorial (https://devcenter.appery.io/tutorials...) and this question (https://getsatisfaction.com/apperyio/...)

I've installed the test App on my device, and I can see the alert is displaying the deviceID. At the backend, the deviceID is stored in Devices collection:

Image

I tried to send the notification. However, nothing is received, and in the notifications history, I can see there is an error codeDescription: mismatch Sender ID count 1/code.

Image

As the sender Id, is project number in google console :
Image

is the same as the one I've used in Push settings:
Image

And the API Key is the same from google console.

What could be mismatched here ?

Thanks,

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Mismatch Sender Id when send Android Push Notifications

Hello Hawk,

I just tested this tutorial and it works correctly. Could you please check that there isn't any extra spaces in Sender ID and API Key? Also please try to recreate them just in a case.

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Mismatch Sender Id when send Android Push Notifications

Hi Evgene,
I've checked. There is no spaces with th sender Id. Also, this is the second project I create on google cosole, and get the same error.

Please help

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Mismatch Sender Id when send Android Push Notifications

Hello,

Any update on this? How can I identify the source of the problem?

Thanks,

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Mismatch Sender Id when send Android Push Notifications

Hello -

Could you please clarify what Libraries version you are using in your App Settings?

And what device and which Android version you are using for testing?

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Mismatch Sender Id when send Android Push Notifications

Hi Illya,

Libraries version 2.2, and the device is Android 4.2

Thanks,

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Mismatch Sender Id when send Android Push Notifications

Hi Hawk -

High probability that this is due to invalid sender ID or API key: http://stackoverflow.com/questions/11...

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Mismatch Sender Id when send Android Push Notifications

Hi Illya,

I've checked the sender ID and the API key according to the link. I've unlinked and linked my DB, reset the API Key on both Appery and google. I've created new project on google. I deleted and created new DB on Appery. None of that worked. I'm still getting the same sender ID mismatch error.

There is another suggestion here (http://stackoverflow.com/questions/12...) but I'm not sure if this applies to my situation or not.

Please advise.
Thanks,

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Mismatch Sender Id when send Android Push Notifications

Hello Hawk,

Please show us your Devices collection screen shot where we can see your registered device.

You should have correct values in fields "_id", "deviceID", and "token".

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

Mismatch Sender Id when send Android Push Notifications

Hi Alena,

Below is a screenshot of the collection. It is only one device, and all these values have been inserted automatically when I launched the App

Image

Appreciate your help

Return to “Issues”