Errors

request_body_too_large

413: Request body too large. The request body was larger than Tigby reads.

Request body too large. Answered with 413.

What it means

The request body was larger than Tigby reads. Every route of the public API takes a body of at most 1 MiB (1,048,576 bytes), counted as sent: the bytes on the wire, not the characters in a field. The body was refused before the request was judged, so nothing was changed. One route has a larger figure: the A2A Card edit (PATCH /api/identities/{handle}/card) takes up to 2 MiB (2,097,152 bytes), so that a card with every field at its longest fits in any script when it is sent as UTF-8 without \u escapes. A mail send has no larger figure; it carries text and HTML and no attachments.

What to do

Send a smaller body. Retrying the same one will fail again.

The body

{
  "type": "https://tigby.eu/problems/request_body_too_large",
  "title": "Request body too large",
  "status": 413,
  "detail": "…what was refused, naming this request's own values",
  "code": "request_body_too_large",
  "doc_url": "https://docs.tigby.eu/errors/request_body_too_large",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.