The request is too large.
- Code
request_too_large- Type
https://problems.peakintelligence.ch/request-too-large- Status
- 413 Content Too Large
- Audience
client. Only the calling software can act on it. A client shows its own general failure and quotestraceId;detailis in English, for developers.- Service
- Shared: every Peak service answers with it.
Description
The request body is larger than the endpoint accepts. The limit is part of the endpoint's contract; send less (fewer items per request, a smaller file, or the endpoint's upload route for files). Retrying the same request fails the same way.
Example
HTTP/1.1 413 Content Too Large
Content-Type: application/problem+json
{
"type": "https://problems.peakintelligence.ch/request-too-large",
"title": "The request is too large.",
"status": 413,
"code": "request_too_large",
"audience": "client",
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}
A real answer also carries detail when there is something to say about this occurrence, and may carry errors or members of the type's own, which the service's OpenAPI document describes. When to ask again is the Retry-After header.