firebase-admin-java icon indicating copy to clipboard operation
firebase-admin-java copied to clipboard

Exception missing in response for failed ones.

Open georgeaniljohn opened this issue 1 year ago • 1 comments

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);

georgeaniljohn avatar Mar 12 '24 09:03 georgeaniljohn

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

google-oss-bot avatar Mar 12 '24 09:03 google-oss-bot