idempotency_key_reused
Idempotency key already used
| Code | idempotency_key_reused |
|---|---|
| HTTP status | 409 |
| 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 idempotency_key was already used in the last 24 hours for a different request. Zando did not run this one, to avoid mixing two requests under one key.
What an agent should do
- If this is a new request, send it again with a new
idempotency_key. - If you meant to repeat the earlier request, send exactly the same request as before with the same key.
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 uses a new key.
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/idempotency_key_reused",
"code": "idempotency_key_reused",
"title": "Idempotency key already used",
"status": 409,
"detail": "This idempotency key was already used for a different request in the last 24 hours. Use a new key for a new request.",
"origin": "zando",
"responsible": "caller",
"retryable": false,
"retry_after_s": null,
"param": "/idempotency_key",
"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/idempotency_key_reused"
}
]
}
}