Question:
We are getting back “CODE_NOT_AVAILABLE” from the API when sending push notifications, is it normal?
Answer:
Yes, this is expected. You get this response when sending notifications via API with fewer than 10 device tokens in the devices array of your request.
For load balancing purposes, messages sent through the API with a devices parameter containing fewer than 10 devices are not stored. As a result, such messages do not appear in your Message History and are not assigned a Notification Code.
If you need push reports while testing, enable API messaging tracing in Message History. Turning it ON overrides this limit for 1 hour and saves such pushes to the Message History; it switches OFF automatically after 1 hour. (This option was previously called "Debug Mode".)
Note: scheduled pushes are always saved to the Message History, even when sent to fewer than 10 devices via the devices parameter.
Comments
1 comment
Code not available pl.provide me
Please sign in to leave a comment.