response_too_large
Result too large
| Code | response_too_large |
|---|---|
| HTTP status | 502 |
| Responsible | platform: Zando |
| Retryable | no (the same request will get the same answer) |
| Where it appears | Inside an MCP tool result (the HTTP response itself is 200, with isError: true). |
| Charged | Nothing. No error uses quota or charges money. |
What it means
The result was too large to return, even after Zando shortened it.
What an agent should do
- Do not retry the same request: it will be too large again.
- Ask for less: fewer results (
count) or fewer characters (max_chars), then send the request again.
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 asks for a smaller result.
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 MCP tool result (structuredContent)
{
"ok": false,
"contract_version": "1.6",
"call_id": "call_8hQ2xV4mN7pR",
"chain_id": "chn_3kT9wB6yL1sD",
"charged_micros": 0,
"currency": "usd",
"error": {
"type": "https://zando.ai/docs/errors/response_too_large",
"code": "response_too_large",
"title": "Result too large",
"status": 502,
"detail": "The result was too large to return, even shortened. Asking for fewer results or fewer characters may help.",
"origin": "zando",
"responsible": "platform",
"retryable": false,
"retry_after_s": null,
"param": null,
"allowed": null,
"call_id": "call_8hQ2xV4mN7pR",
"chain_id": "chn_3kT9wB6yL1sD",
"charged_micros": 0,
"currency": "usd",
"next_actions": [
{
"type": "docs",
"url": "https://zando.ai/docs/errors/response_too_large"
}
]
}
}