Getting Internal Server Error at fcm/send to Mozilla Client

105 views
Skip to first unread message

Gerald N

unread,
May 11, 2017, 4:08:04 PM5/11/17
to android-gcm
At https://firebase.google.com/docs/cloud-messaging/http-server-ref it was recommended to post the problem here so here we go ...

The call is:

curl   --header "Authorization: key=<OUR AUTH KEY>" --header Content-Type:"application/json"  https://fcm.googleapis.com/fcm/send  -d "{\"to\":\"eDNh1iJ54co:APA91bE5UFBsWIRL3eQIwPs_5ar-eLIDKGEjCM_SkngItc3NeWRjHCsWQZvZiKrCcyYQr319m9UoN9VJVSxXaac_fR8eHuEdyLEyJQJ7ubHzXd1JmYDr8vk1kNiYDJOXLU0RBIroaIqS\"}"

The client the registration ID belongs to is Mozilla Firefox 53.0.2. on Mac

If we try the same with the same website and a Chrome Client and the respective registration ID, it worked welll

Reply is: {"multicast_id":6614800139048725106,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"InternalServerError"}]}

So this seems to be a Mozilla / Firefox Issue? Any help is highly appreciated!

Pinar Ozlen

unread,
May 12, 2017, 11:14:33 AM5/12/17
to android-gcm
Hi,

It seems to be a Authentication issue, are you using the same AUTH key for pushing both to Mozilla and Chrome? 

Would you mind sharing a Chrome token that works?

Best,

Pinar
Reply all
Reply to author
Forward
0 new messages