request_ too_ large
The request body is too large.
On this page
HTTP status: 413 Content Too Large. Retrying the same request unchanged fails the same way.
Why it happens
- Bodies are limited to 64 KiB, far more than any request needs.
What to do
Send a smaller body; metadata, for example, is limited to 20 keys.
Example
The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.
{
"type": "https://docs.nowgate.io/errors/request_too_large",
"title": "Content Too Large",
"status": 413,
"detail": "What exactly was wrong, in a sentence.",
"instance": "/v1/payments",
"code": "request_too_large",
"request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}