2

Hello all I am following this example I am able to generate registration token, but I am not able to get notification in my phone, can any one help me with this?

When I try to check using this http://connect-survey.com/APK/bans_push/ I'm getting this error now:

{"multicast_id":6837230096397340828,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"MismatchSenderId"}]}

Sven R.
  • 1,049
  • 17
  • 24
albert
  • 251
  • 5
  • 20

1 Answers1

2

Notice that there is a difference between the "Project ID" (that usually appears in the url/console dashboard) and the actual 12-digit "Project Number".

Verify you're using the Project Number which can be found in the google console under project settings.

Take a look at this screenshot

David D.
  • 557
  • 7
  • 20
  • Please flush out this answer to show how you can apply this information to the problem. – Adam Martin Sep 11 '16 at 21:01
  • I edited my answer as you suggested. By the way, if you post the device id received on your server, the column must be of type varchar 256 (ascii) or larger, otherwise the id will be truncated and make issues. – David D. Sep 12 '16 at 11:33