API error · HTTP 413
payload_too_large
Payload too large
| HTTP status | 413 Content Too Large |
|---|---|
code | payload_too_large |
title | Payload too large |
| Retry? | No |
What it means
The body is over the limit: 1 MB for every request body, and 25 MB per document upload (§16).
What to do
Do not retry unchanged. Send a smaller body, or compress or split the document.
Example response
Branch on code, never on title or detail. detail varies; quote request_id to support.
HTTP/1.1 413 Content Too Large
Content-Type: application/problem+json
{
"type": "https://www.underwritinguk.ai/developers/errors/payload_too_large",
"title": "Payload too large",
"status": 413,
"code": "payload_too_large",
"detail": "Payload too large.",
"request_id": "7b0b1e5c-2f7e-4a52-9a43-5b0d0f0e9d11"
}All error codes · Error catalogue in the integration guide (§15) · Error handling and retries (§12.4)