Zando

All errors

idempotency_in_progress

Same request still running

Codeidempotency_in_progress
HTTP status409
Responsiblecaller: The caller (the agent or the person behind it)
Retryableyes (after retry_after_s seconds when it is given)
Where it appearsInside an MCP tool result (the HTTP response itself is 200, with isError: true).
ChargedNothing. No error uses quota or charges money.

What it means

A first request with the same idempotency_key is still running. Zando did not start it a second time.

What an agent should do

  1. Wait a few seconds (retry_after_s when present), then send the same request with the same key: you get the result of the first request.
  2. Do not change the key, or the request would run twice.

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 result arrives when the first request finishes.

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_in_progress",
    "code": "idempotency_in_progress",
    "title": "Same request still running",
    "status": 409,
    "detail": "The first request with this idempotency key is still running. Retrying shortly with the same key returns its result.",
    "origin": "zando",
    "responsible": "caller",
    "retryable": true,
    "retry_after_s": 2,
    "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/idempotency_in_progress"
      }
    ]
  }
}