E04002 — MessageTooLarge
Once generated, this message is over the 20 MB limit.
- HTTP status: 413
- Type: payload_too_large_error
- Name: MessageTooLarge
What to do
The request body exceeds the maximum allowed size. Reduce the request body (smaller attachments, fewer items per call) and retry. Batch endpoints accept multiple smaller requests.
Related
- E04xxx — Email sending & delivery: every code in this range
- Errors: the full wire contract, status mapping, and error catalog
- Error handling: branching on type and code, validation details, and vendor_code
Related resources
Continue with the documentation, guides and examples for this topic. Resources are in English.
Understand the conceptShould I use a Bird SDK or call the API directly?Follow the learning pathBuild your first integrationImplementation guideSend your first email
Get an implementation brief