Errors

resource_busy

503: Busy with another request.

Busy with another request. Answered with 503.

What it means

Another write held what this request had to change (most often the Org itself, which a Plan order holds while it is at the payment provider, and which every cap and quota is counted under) for longer than a request may wait, or the two requests waited on each other and Postgres failed this one to end the deadlock. Nothing is wrong with the request, and the response carries a Retry-After header. A Plan order that meets another one in progress is answered plan_order_pending instead. Over MCP the same failure is a Tool error with this code.

What to do

Send the same request again after the Retry-After header's seconds. If it keeps coming back for minutes, write to support@tigby.eu.

The body

{
  "type": "https://tigby.eu/problems/resource_busy",
  "title": "Busy with another request",
  "status": 503,
  "detail": "…what was refused, naming this request's own values",
  "code": "resource_busy",
  "doc_url": "https://docs.tigby.eu/errors/resource_busy",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.