The Invalid Credentials
error, also known as Invalid request credentials
is a generic error from the Firebase notification gateway. This error is returned by the Firebase notification gateway and indicates a critical authentication issue.
Potential causes
This error may occur if the server key used by your app is rejected by Firebase. This can happen if the key has been accidentally regenerated or disabled in the Firebase console.
Steps to resolve
1. Check for recent changes
First, verify if any changes have been made in the Firebase console. Sometimes, modifications to the server key or other configurations can lead to this error.
2. Re-configure the Android platform in your Pushwoosh app
To resolve the issue, follow these steps to re-configure the platform for your app:
- Select one of your apps.
- Re-configure the Android platform using the detailed guide provided here: Configure Android Platform.
3. Verify Credentials
Ensure that the credentials specified in the following files are consistent and correctly set up:
- google-services.json
- Firebase private key
- Manifest file of your app
4. Generate New Credentials (if necessary)
In rare cases, resolving the issue may require regenerating credentials. Follow these steps:
- Generate a new
google-services.json
file. - Create a new Firebase private key.
- Upload the new Firebase private key to your Android config in the Pushwoosh app
Additional Tips
- Double-check all credentials for typos or misconfigurations.
- Ensure that all necessary Firebase services are enabled and properly linked to your project.
Comments
0 comments
Please sign in to leave a comment.