We are getting back “CODE_NOT_AVAILABLE” from the API when sending push notifications, is it normal?
Yes, it is normal. You are getting this response after sending notifications via API to certain devices with less than 10 device tokens in the
devices array of your API requests.
Please note that for load balancing purposes we do not store messages sent through API with the
devices parameter that contains less than 10 devices in an array. Due to this, such messages will not be displayed in your Message History and such messages don't have the assigned Notification Code.
However, as it’s necessary to see push reports during the testing phase, there’s a Debug Mode that you can use during your tests. Turning Debug Mode ON in your Push History allows you to override this limit for 1 hour and save such pushes in the push history. Debug mode turns OFF automatically after 1 hour.