-
Notifications
You must be signed in to change notification settings - Fork 92
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
Client error: POST https://fcm.googleapis.com/fcm/send
resulted in a 401 INVALID_KEY
response
#68
Comments
According to the error, you have an invalid key. Make sure your keys are set correctly. |
Hi, please, how did you solve this? i'm getting the same error and i used the "Server key" seen in the Cloud Messaging tab in Firebase console. |
getting the same error any update |
Getting the same error. |
1 similar comment
Getting the same error. |
The same error happened to me last week, that was because the value of key returned as 0 instead of firebase server key. |
@aymanalhattami did you just override without changing something ? |
@aymanalhattami never mind, i figured out your solution.. the actual problem is its unable to read fcm key from services.php file. so i override the class as you said and put fcm key in another config file.. then call it.. viola.. it works.. thanks for hinting that |
I am getting above error while sending notification. I dont understand how to resolve it..please help with it. I am getting this error in laravel....
The text was updated successfully, but these errors were encountered: