I have a python3 program that connects to the FCM XMPP test server successfully. However, after sending a JSON, it returns me a SERVICE_UNAVAILABLE nack message every time. The very same piece of code worked perfectly last week.
The documentation advises to retry to send the message, several times, what I did. It also says that I might be blacklisted.
The request that provokes the nack is:
<message id=""><gcm xmlns="google:mobile:data">{"message_id": "37ea7059-a832-413b-b008-378f8d8e1a46", "delivery_receipt_requested": true, "time_to_live": 600, "notification": {"body": "BAR", "color": "#666", "icon": "ic_launcher", "title": "FOO", "sound": "content://settings/system/notification_home"}, "data": {"url": "http://google.com"}, "to": "FOOBAR"}</gcm></message>
firebaser here
Our Cloud Messaging staging environment regularly gets software releases that may not be fully ready for production use yet. It seems this is one of those cases.
We recommend that you do your own testing against the production environment. We'll update the documentation accordingly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With