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

Exception missing in response for failed ones. #923

Open
georgeaniljohn opened this issue Mar 12, 2024 · 1 comment
Open

Exception missing in response for failed ones. #923

georgeaniljohn opened this issue Mar 12, 2024 · 1 comment

Comments

@georgeaniljohn
Copy link

When large number of failures, no exception details present in response but only error count. The count of exceptions in response do not match failed count. That means for some failures exception objects are missing.

Documentation https://firebase.google.com/docs/reference/admin/error-handling says "Every API error is guaranteed to contain an error code and an error message" which is not the case here.

Notification is send to registration tokens of almost 2.3 million. Almost 2.2 million are success. For around 88k no exception present in response. I use firebase admin SDK 9.1.1. The method used is sendMulticast().

Sample usage:
BatchResponse response = fcmMessaging.sendMulticast(multiCastMessage, dryRun);

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

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

No branches or pull requests

3 participants