InternalServerError

50 views
Skip to first unread message

tick

unread,
May 30, 2016, 5:11:32 AM5/30/16
to android-gcm
The following message send to the google cloud api via https results in an InternalServerError.

{"data":{"title":"hidden","body":"hidden","bm_tracking_url":"http://hidden.de/up/4/hidden.gif"},"notification":{"title":"hidden","body":"hidden","icon":"@drawable/hidden_icon","sound":"default","click_action":"hidden.package.intent.action.PUSH_NOTIFICATION"},"to":"dy4Bqeu2-yw:APA91bHgCMJbPcTVoG93lMe1Y_MZsY8gAad6L08t2LnBHdW9ZqCHOISmOmbB0gcXpblYYod6DB59FL4ntKJ6q36oadKPlXMOq7dM8ogHNkSCPVRr7hmrMx9M6o5LdDoLBdopkcCSKrMe","priority":"high","message_id":"hidden"}

Note that some parts of the message were replaced with "hidden".

Response:

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

The same message was successfully send to a different app with different sender-id and api-key.

Can anyone help?

Diego Giorgini

unread,
May 31, 2016, 1:51:18 PM5/31/16
to android-gcm
Hi Till,

thanks for your report. We will look into it and let you know what is causing the issue.

PS: at a first glance I can see you are sending "icon":"@drawable/hidden_icon" but the correct format is: "icon":"hidden_icon"  (without @drawable)
this is likely NOT the cause of the InternalError, but might be a fix you want to do anyway.

--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/713f9d9b-b508-417f-8d13-9fd619cddafc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages