Sign inConnect your AI
api / errors

Payload too large

HTTP 413, code payload_too_large.

Updated · API v1

What it means

The body, the query string or the result passes its size limit.

What to do

Send fewer ids per request, or narrow the request. Bodies are limited to 4 MB and query strings to 8 KB.

Not retryable as it is: sending the same request again gives the same answer.

The answer

application/problem+json
{
  "type": "https://www.adspy.sh/docs/api/errors/payload-too-large",
  "title": "Payload too large",
  "status": 413,
  "detail": "…",
  "code": "payload_too_large",
  "request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
  "instance": "/api/v1/…"
}

Every error type and how to handle them.