unknown_criterion
Unknown criterion
| Code | unknown_criterion |
|---|---|
| HTTP status | 400 |
| Responsible | caller: The caller (the agent or the person behind it) |
| 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
One of the criteria has a name Zando does not know. Zando did not run the request.
What an agent should do
- Read
paramto find which criterion is unknown, andallowedfor the criteria Zando knows. - Rename it to a known criterion, or remove it, and 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 fixes its criteria itself.
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/unknown_criterion",
"code": "unknown_criterion",
"title": "Unknown criterion",
"status": 400,
"detail": "Zando does not know the criterion at /criteria/0/name; the criteria available are quality, speed, freshness, reliability, price, max_latency_ms, data_region, provider, avoid_provider. Nothing was charged.",
"origin": "zando",
"responsible": "caller",
"retryable": false,
"retry_after_s": null,
"param": "/criteria/0/name",
"allowed": [
"quality",
"speed",
"freshness",
"reliability",
"price",
"max_latency_ms",
"data_region",
"provider",
"avoid_provider"
],
"call_id": "call_8hQ2xV4mN7pR",
"chain_id": "chn_3kT9wB6yL1sD",
"charged_micros": 0,
"currency": "usd",
"next_actions": [
{
"type": "docs",
"url": "https://zando.ai/docs/errors/unknown_criterion"
}
]
}
}