E04000 — EmailBatchRequestTooLarge
The batch is larger than 20 MB.
- HTTP status: 413
- Type: payload_too_large_error
- Name: EmailBatchRequestTooLarge
What to do
The whole request body, including every attachment once base64-encoded, has to fit in 20 MB. Split the batch into smaller ones, or send the largest attachments on their own.
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