8

I'm using OneSignal for mobile push notification, but some devices' ids got in invalid_player_ids when sending the notification from my REST API.

It have happened with different devices. Both android and ios.

Current i'm using an android device. And my scenarios is: I install my app on android. The id is generated and sent to my backend application. My application try to send notification to the generated id, it fail with error invalid_player_ids and my device id.

How i can manage to solve the id to check if its valid or not?

Thanks

schirrel
  • 303
  • 2
  • 4
  • 7

1 Answers1

-1

Just clear your device's cache and resubscribe

matheus
  • 1
  • 1
  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/33915145) – Maveňツ Mar 01 '23 at 11:37
  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 03 '23 at 20:21