Firebase token not registered error

2,143 views
Skip to first unread message

Towsif Hossain

unread,
Feb 15, 2023, 1:29:35 PM2/15/23
to Firebase Google Group
We are currently facing an issue while sending notification through Firebase. The API returns more frequently `messaging/registration-token-not-registered` error.

We have followed all required steps to update the Firebase token to server when ever there is a change while the user logs in for the first time and on every app start later on. The notifications are time sensitive and require users immediate attention, if not delivered on time or missed due to API error their is a huge outcry with our clients.

Is there anything we are missing to improve notification delivery to client apps? How can we improve the current implementation to handle the above API error?

 

Aravind Aravind

unread,
Feb 16, 2023, 7:10:38 PM2/16/23
to Firebase Google Group
Hi, First test push notification through Firebase console and confirm it working or not. There is no time delay for sending notifications, once trigger, it will reach client app. May i know which programming code used to send notification ?

For sending notification we need backend as Firebase server key,  SenderID   and device token.
Firebase server key and SenderID you can get from Firebase account, for device token you need some code in Cordova or iconic or flutter to receive.

Regards
Aravind

Towsif Hossain

unread,
Feb 17, 2023, 6:57:43 PM2/17/23
to Firebase Google Group
Our current app is completely native (Java for Android and Swift for iOS) and we are sending token to server regularly to keeps things updated.

We have also tested by sending notifications from Firebase console and works fine. The problem is on any given day the notifications send API starts giving this `messaging/registration-token-not-registered` error even though the token is just one or two days old. 

Backend - NodeJS
Reply all
Reply to author
Forward
0 new messages