request_too_large
Request too large
| Code | request_too_large |
|---|---|
| HTTP status | 413 |
| Responsible | caller: The caller (the agent or the person behind it) |
| Retryable | no (the same request will get the same answer) |
| Where it appears | As an HTTP response with this status, before any tool runs. |
| Charged | Nothing. No error uses quota or charges money. |
What it means
The request is larger than Zando accepts (1 MB).
What an agent should do
- Send a smaller request: shorten the text fields.
The error's next_actions come first: they are written for this exact error (a call to send
instead, something to tell the user, this page). Tell the user the error's detail: its first
sentence is written to be read as is.
What a person should do
Nothing to do: the agent sends a smaller request.
Example
The error object is the same on every channel; only the order of next_actions follows the
channel. Ids, times and values below are examples.
As an HTTP response (application/problem+json)
HTTP 413
Content-Type: application/problem+json
Cache-Control: no-store, no-transform
Zando-Origin: zando
Zando-Contract-Version: 1.6
{
"type": "https://zando.ai/docs/errors/request_too_large",
"code": "request_too_large",
"title": "Request too large",
"status": 413,
"detail": "The request is larger than Zando accepts (1 MB). A smaller request will be accepted.",
"origin": "zando",
"responsible": "caller",
"retryable": false,
"retry_after_s": null,
"param": null,
"allowed": null,
"call_id": null,
"chain_id": null,
"charged_micros": 0,
"currency": "usd",
"next_actions": [
{
"type": "docs",
"url": "https://zando.ai/docs/errors/request_too_large"
}
]
}