Skip to main content
Solved

Push notifications failing to due to FCM INVALID_TOKEN: Invalid platform or token


I’m trying to send out push notifications messages but they don’t seem to be delivered and I get the error: FCM INVALID_TOKEN: Invalid platform or token.

What does this mean and how can I fix this so I can send out push notifications?

 

Best answer by Penny

Hey there! 

 

This error typically occurs when the token being sent is invalid.

To resolve this issue, I recommend reviewing the process you're using to push device data, ensuring that the correct device id is being sent for each customer in your workspace. 

You may also find this document helpful as a guide - FCM Best Practices for Token Management. Hopefully this helps to point you in the right direction! 

View original
Did this topic help you find an answer to your question?

2 replies

Penny
  • 133 replies
  • Answer
  • May 4, 2023

Hey there! 

 

This error typically occurs when the token being sent is invalid.

To resolve this issue, I recommend reviewing the process you're using to push device data, ensuring that the correct device id is being sent for each customer in your workspace. 

You may also find this document helpful as a guide - FCM Best Practices for Token Management. Hopefully this helps to point you in the right direction! 


Hi @broris 

You’re seeing this error because the device tokens you're sending to are not valid. A valid device token should look like what you see in the screenshot on this document: https://customer.io/docs/send-push/#test. Here, I'll recommend reviewing how you're pushing this device data so that you can ensure the proper device id is getting sent for each customer.

Hope that’s helpful!
 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings