-
Notifications
You must be signed in to change notification settings - Fork 286
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
FIS_AUTH_ERROR #284
Comments
@ppetree did you solve your problem? |
|
@ppetree
If this works you can be sure your google-service.json is generated properly and the root cause is another one. |
@ksch10bob None of that is the problem and, in fact, downloading a new google-service.json was the problem. The new google-services.json has the wrong Web API Key. Get the correct key off the General Project Settings tab and MANUALLY update your google-services.json. There should be better error handling around this than what's provided. |
@ppetree
Are you referring to the FCM SDK itself or the errorhandling of the plugin? |
In this particular case I don't think the error ever reached the plugin, I think it errored out during the FCM response. I have a console.log hijacker and this was the capture: There was no bubbling up through the plugin. |
This change might address part of it, but needs testing: https://github.com/havesource/cordova-plugin-push/compare/master...havesource:cordova-plugin-push:fix/gh-284?w=1 However, for an improved and clear error message, it might be more challenging because |
Bug Report
Error requesting a token on Android devices (Apple works fine)
Admittedly this could be an FCM issue but some sources online say that going to firebase 20.0.1 solves this problem.
Expected Behaviour
Get a token back as I always have.
Actual Behaviour
on register I get an error stating
java.util.concurrent.ExecutionException: java.io.IOException: FIS_AUTH_ERROR
Reproduce Scenario (including but not limited to)
Registering a device for push notifications using
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 13, Android 14
(Android) Device Vendor (e.g. Samsung, HTC, Sony...)
Pixel, Teclast (tablet), Samsung and Blu
Sample Push Data Payload
Can't push without a token
Sample Code that illustrates the problem
java.util.concurrent.ExecutionException: java.io.IOException: FIS_AUTH_ERROR
Logs taken while reproducing problem
java.util.concurrent.ExecutionException: java.io.IOException: FIS_AUTH_ERROR
All online resources point to an FIS authorization problem but I have granted that permission (repeatedly), updated my sha1/256 fingerprints and done everything else and then checked it all thrice. I still get the error. One post suggests going back to firebase sdk 20.0.1 to solve the problem.
BTW, I'm updating 3 projects that I've not touched in over a year (cancer). I'm trying to get back at it but my update plans are sticking on this error.
The text was updated successfully, but these errors were encountered: