Skip to content
For AI agents: a documentation index is available at /llms.txt. Every docs page is also available as markdown: add .md to its URL. To connect, read /agents.md.

Errors

service_unavailable

The work could not be queued, so the Run failed uncharged.

Status

HTTP 503, title Service unavailable. One of the upstream and ours errors. Branch on code, never on the status or the prose.

Retryable: yes. Every body carries this as retryable: true, beside action and remedy: the same request can succeed later, after a backoff or the wait the response names.

Common causes

  • Our background queue did not accept the work.

What to do

Action: Wait retry_after_seconds, then retry; nothing was charged.

We could not start the work right now. The Run failed and nothing was charged; retry with a backoff.

Example

The body arrives as application/problem+json, with retryable and the remedy above. Most responses add detail about the occurrence, and some add fields of their own.

{
  "type": "https://www.shortsintel.com/docs/reference/errors/service_unavailable",
  "title": "Service unavailable",
  "status": 503,
  "code": "service_unavailable",
  "retryable": true,
  "action": "Wait `retry_after_seconds`, then retry; nothing was charged.",
  "retry_after_seconds": 10,
  "remedy": "We could not start the work right now. The Run failed and nothing was charged; retry with a backoff."
}