Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Random Registration error #80

Open
sairajkishore opened this issue Aug 4, 2017 · 9 comments
Open

Random Registration error #80

sairajkishore opened this issue Aug 4, 2017 · 9 comments

Comments

@sairajkishore
Copy link

Hi,
Am getting below mentioned error while registering with blumix, its not every time reproducible but randomly happening. could you let me know what woulb be the root cause?

com.ibm.mobilefirstplatform.clientsdk.android.push.api.a: , Message : {"code":"FPWSE0005E","message":"Invalid value was provided. Check the 'token' parameter value."}, statusCode : 400

@AnanthaKrish
Copy link
Member

AnanthaKrish commented Aug 5, 2017

@sairajkishore Hi, Seems like you are not getting token from the FCM. Do you have a valid app in FCM and added the app and push SDK bundle identifier there ?.... Please check the google-services.json file.....Make sure you are following the documents.......

Let me know if you need help.... thanks

@sairajkishore
Copy link
Author

Yes i have valid google-service.json as it works for most of the time.only in few occasions below mention error comes.

com.ibm.mobilefirstplatform.clientsdk.android.push.api.a: , Message : {"code":"FPWSE0005E","message":"Invalid value was provided. Check the 'token' parameter value."}, statusCode : 400

@AnanthaKrish
Copy link
Member

@sairajkishore That looks strange ... I will try to recreate it and let you know ..

@AnanthaKrish
Copy link
Member

@sairajkishore this is happening when you register your app for push notifications ?

@sairajkishore
Copy link
Author

yes it is happening when registration happening for push notification.

@AnanthaKrish
Copy link
Member

@sairajkishore are you using the emulator to run the app ? This is happening due to the delay in connection with Firebase. If there is a delay the master token , which is null most of the time, will be assigned to the token value. By the way I will handle this token null condition.

@sairajkishore
Copy link
Author

Am not using any emulator ,it is a production build only.

@AnanthaKrish
Copy link
Member

AnanthaKrish commented Aug 16, 2017

@sairajkishore are you able to get the value for this log MFPPush:registerInBackground() - Successfully registered with FCM. Returned deviceToken is: ? If yes can you please share that ? If you have the logs for this it will help us figure out the exact issue ...

@sairajkishore
Copy link
Author

Hi,
I could not have any logs, it not happening every time, but randomly happening the logs which i got is from production.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants