Invalid registration token. Check the token format. when sending push notification from firebase console in android
Asked
Active
Viewed 394 times
0
-
1i think error itself is more precise. you have invalid FCM token try to regenerate. – Arpit bandil Jul 20 '18 at 05:25
-
I already regenerate FCM token.. but still this error occured.... – saloni khandelwal Jul 20 '18 at 05:29
-
can you post the token? – Arpit bandil Jul 20 '18 at 05:30
-
eDSeblLGdsw:APA91bEhGNgUJ_czIy9J2RLVB4EhqCRp-Sln8nFV221QxNuvvdcws90TRXz8N3HjuGFgjpEmXMGPg8x26MmcbPqy – saloni khandelwal Jul 20 '18 at 05:35
-
try to send push notification with pushtry.com – Arpit bandil Jul 20 '18 at 05:48
-
Unauthorized Error 401 occured when sending notification – saloni khandelwal Jul 20 '18 at 05:57
-
First write some code to generate and log the token (if you haven't). Next, try uninstalling your app and reinstalling to trigger `FirebaseInstanceIdService` which will generate and log your device token. Third use that token to send PN from your console. Also make sure there are no leading and trailing white spaces in your instance id. – ravi Jul 20 '18 at 06:33
-
I have already added FirebaseInstanceIdService but sitill error occured – saloni khandelwal Jul 20 '18 at 09:36