firebase cloud messaging – FCM Android SDK returns invalid tokens-ThrowExceptions

Exception or error:

I have problem with Android FCM SDK while obtaining FCM tokens.


  1. Application gets tokens from Android FCM SDK

  2. Few minutes later we are trying send push message to this device

  3. We get response from FCM cloud “device_unregistered”

  4. After reinstall application, FCM SDK returns new active tokens.

Any suggestions why FCM SDK sometimes returns inactive tokens?

Using SDKs:


How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *