invalid_params
Invalid parameters
| Code | invalid_params |
|---|---|
| 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
The request has a field that is missing, of the wrong type, unknown, or outside its allowed range. Zando checked the request before doing anything and did not run it.
What an agent should do
- Read
param: it points to the faulty field, andallowedlists the accepted values when Zando has the list. - When
next_actionsholds anmcp_toolaction, it is a complete call in the right shape: send it again with your own values. - Do not retry the same request unchanged: it 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 fixes the request itself. If it keeps failing, the agent may be using an outdated description of Zando; reconnecting it refreshes the tool list.
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/invalid_params",
"code": "invalid_params",
"title": "Invalid parameters",
"status": 400,
"detail": "The field /params/query is missing, so Zando did not run the request. Nothing was charged.",
"origin": "zando",
"responsible": "caller",
"retryable": false,
"retry_after_s": null,
"param": "/params/query",
"allowed": null,
"call_id": "call_8hQ2xV4mN7pR",
"chain_id": "chn_3kT9wB6yL1sD",
"charged_micros": 0,
"currency": "usd",
"next_actions": [
{
"type": "mcp_tool",
"tool": "call",
"arguments": {
"intent": "web.search",
"params": {
"query": "latest news on electric cars",
"recency": "week"
}
},
"label": "Call again in this shape, with your own values"
},
{
"type": "docs",
"url": "https://zando.ai/docs/errors/invalid_params"
}
]
}
}