firebase / firebase/firebase-admin-java

Exception missing in response for failed ones.

未关闭
#923 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: messaging
主要语言
Java
星标
620
派生
305
平均合并
3 小时 23 分钟
30 天内合并 PR
1

描述

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

贡献指南

打开贡献指南

调研方向

Start at the sendMulticast() entry point and inspect how its BatchResponse represents failed registration tokens, using the reported Firebase Admin SDK 9.1.1 behavior and the linked error-handling documentation as context. Reproduce the large-batch case if possible, then verify that every failed token has an exception and that exception and failure counts match.

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
api
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。