provider_error
Provider failed
| Code | provider_error |
|---|---|
| HTTP status | 502 |
| Responsible | provider: The provider Zando called |
| Retryable | yes (after retry_after_s seconds when it is given) |
| 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 provider Zando chose failed to answer properly (an error or an answer Zando could not use). Zando's own handling was fine.
What an agent should do
- Try again, after
retry_after_swhen present. - If it fails again, add an
avoid_providercriterion naming that provider so Zando picks another one.
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 can retry or avoid this provider. If one provider fails often, telling Zando through feedback helps.
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/provider_error",
"code": "provider_error",
"title": "Provider failed",
"status": 502,
"detail": "The provider failed to answer properly. Nothing was counted; trying again, or avoiding this provider, may help.",
"origin": "zando",
"responsible": "provider",
"retryable": true,
"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/provider_error"
}
]
}
}