Documentation
Sign inGet started

E04002 — MessageTooLarge

Estimated generated message size exceeds the 20 MB cap.
  • 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.