payload_too_large
The request body exceeds the accepted size: 1 MB as a rule, 6 MB on the endpoints that accept files.
| Code | Type | HTTP | Category |
|---|---|---|---|
payload_too_large | invalid_request_error | 413 | Request |
Cause
The request body exceeds the accepted size: 1 MB as a rule, 6 MB on the endpoints that accept files.
What to do
Split the operation into smaller requests, or compress the attachment before sending it.
Message returned by the API
The payload exceeds the 1 MB limit.