send push notification to one device - API

Comments

1 comment

  • Avatar
    Gayview Mahat

    Hi! Please note that "CODE_NOT_AVAILABLE" message appears only when you are sending notifications to less then 10 devices using targeting via "devices" parameter of /createMessage method. Please do not worry about it — the notifications are sent anyway, but the information about them isn't saved in your "Push History".

    The Debug Mode overrides this behaviour for one hour and lets you save all pushes in the Push History, so you could make sure they are successfully sent.

    Alternatively, if you would like to have all your notifications stored in history, you can use our Tags feature for targeting.

Please sign in to leave a comment.