Skip to content
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

Notification request failed but no error response #213

Open
namicts opened this issue Jul 26, 2022 · 0 comments
Open

Notification request failed but no error response #213

namicts opened this issue Jul 26, 2022 · 0 comments

Comments

@namicts
Copy link

namicts commented Jul 26, 2022

Hello,

As I sent the notification and check the response, it returned OK
"notification": "FirebaseResponseDict(response=<firebase_admin.messaging.BatchResponse object at 0x7fe39f6a58e0>, registration_ids_sent=['xxxxxx', 'xxxxxx'], deactivated_registration_ids=[])"

However when I checked using Node JS, it return clearly as
errorInfo: { code: 'messaging/mismatched-credential', message: "Permission 'cloudmessaging.messages.create' denied on resource '//cloudresourcemanager.googleapis.com/projects/xxxxx' (or it may not exist)." }

I have fixed my own issue but I hope there will be a more precise response from the package.

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

No branches or pull requests

1 participant