provider_rejected_params
Provider refused a parameter
| Code | provider_rejected_params |
|---|---|
| HTTP status | 422 |
| 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
The provider refused one of the parameters of the request, although Zando accepted it. Zando did not change the parameter on its own.
What an agent should do
- Read
paramto find the refused parameter. - Change or remove it and send the request again; the same request unchanged will be refused 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 in most cases: the agent adjusts the parameter.
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_rejected_params",
"code": "provider_rejected_params",
"title": "Provider refused a parameter",
"status": 422,
"detail": "The provider refused one of the parameters of this request. Changing that parameter may help. Nothing was counted.",
"origin": "zando",
"responsible": "caller",
"retryable": false,
"retry_after_s": null,
"param": "/params/country",
"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_rejected_params"
}
]
}
}