-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PushNotificationsAPI: Failed to register device: NOKResponse(error=Unauthorized, description=The device token provided could not be validated against any known credentials) #107
Comments
any news on this? |
Hi, The error can be triggered for a number of reasons. We're using Google's api from https://developers.google.com/instance-id/reference to check the device token (which you can also curl yourself to confirm). I'd recommend checking the following:
If you're still seeing issues - we'd appreciate some more information on what's happening. Do you have any steps to reproduce? Thank you, |
I have been having this same error happen to my Android application. It will work for a while and then it will stop connecting to push notifications with the same error message. I have to clear the app data in order for it to start working properly. It is not a consistent error; it has only happened a couple of times. |
We are having the same issues. We can call PusherBeams.instance.start('') (flutter client) fine with no errors, we can also subscribe to a device interest, with no errors. However we keep seeing these messages in our logs:
This is happening on Android devices for us, will test IOS next Please advise |
We did configure Safari APN stuff last night, this is possibly related. Going to try removing the Safari configuration. |
No change |
I have the same error. Is there a fix yet? |
Got the same issue when playing around with different brandings (using different package name in AndroidManifest.xml). Not sure what causes it. There is a Stackoverflow with similar: EDIT: Maybe it's somehow related to DeviceStateStore and deviceId. Line 9 in abd5a8b
|
Seems to work now I also see this in the log then when launching, probably related:
|
I'm still getting it using
Any news on how to solve it? I can't ask users to clear their data to solve this |
My Pusher Beams has worked fine for 3 months, but today I got this error, and there is no document about how can I resolve this error.
"PushNotificationsAPI: Failed to register device: NOKResponse(error=Unauthorized, description=The device token provided could not be validated against any known credentials)"
The text was updated successfully, but these errors were encountered: