iOS: Invalid registration token. Check the token format
There are two tokens you get at iOS side
Token generated by iOS which is received in method
didRegisterForRemoteNotificationsWithDeviceToken
Token generated by Firebase
FIRInstanceID.instanceID().token()
(this you can print in AppDelegate)
The issue you are facing is because firebase console portal requires token received by way 2 and you are using token received by way 1.