firebase / firebase/firebase-admin-java
Exception missing in response for failed ones.
- Ngôn ngữ chính
- Java
- Star
- 620
- Fork
- 305
- Merge trung bình
- 3 giờ 23 phút
- Pull request đã merge (30 ngày)
- 1
Mô tả
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);
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu tại điểm vào sendMulticast() và kiểm tra cách BatchResponse biểu diễn các token đăng ký bị thất bại, sử dụng hành vi được báo cáo của Firebase Admin SDK 9.1.1 và tài liệu được liên kết về xử lý lỗi làm bối cảnh. Nếu có thể, hãy tái hiện trường hợp batch lớn, sau đó xác minh rằng mọi token bị thất bại đều có một ngoại lệ và số lượng ngoại lệ khớp với số lượng lỗi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100