firebase / firebase/firebase-admin-go
Payloads too large return undocumented "Android message is too big"
- Dominant language
- Go
- Stars
- 1.3k
- Forks
- 274
- Avg merge
- 10h 39m
- Merged PRs (30d)
- 2
Description
### [REQUIRED] Step 2: Describe your environment
* Operating System version: Mac OS 13.5.2
* Firebase SDK version: 4.12.0
* Library version: _____
* Firebase Product: _____ (auth, database, storage, etc)
### [REQUIRED] Step 3: Describe the problem
#### Steps to reproduce:
* Send a notification where `Data` is `{"a": x}` where x is a random 8000 byte string
* What happens: BatchResponse has undocumented error "Android message is too big"
* Expected: either a documented error code, or for the messaging namespace to expose an `IsMessageToLarge` or similar method, similar top `messaging.IsSenderIDMismatch`, `messaging.IsUnregistered`, etc
Contributor guide
Research direction
Start in the messaging namespace by reproducing the notification with an approximately 8000-byte data value and observing the BatchResponse error. Compare the undocumented "Android message is too big" result with existing messaging error helpers such as IsSenderIDMismatch and IsUnregistered; done when the size failure is documented or exposed through a comparable helper.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100