Every error response from the coordinator has the same shape:
{
"detail": "App not found",
"passive_error": { "code": "not_found" }
}
detail is a human-readable string (validation failures keep FastAPI's list).
Branch on passive_error.code, never on detail. Some codes carry extra
fields beside code: insufficient_scope adds required and missing,
validation_error adds errors, port_conflict adds port and holder.
Codes are stable, and every code is listed on this page. When a response has a
Retry-After header, honour it.
Authentication
| Code | Meaning |
|---|
unauthenticated | No usable credential on the request. |
token_expired | The session token has expired; sign in again. |
invalid_token | The credential is malformed or not recognised. |
key_expired | The API key has expired; mint a new one. |
key_revoked | The API key was revoked; mint a new one. |
key_not_found | No API key with that id in this org. |
api_keys_unconfigured | API keys are not configured on this coordinator. |
Authorisation
| Code | Meaning |
|---|
forbidden | Authenticated, but not allowed to do this. |
api_key_forbidden | This endpoint does not accept API keys; use a session. |
standby_not_entitled | This account may not opt an app into that standby tier. |
workspaces_locked | Workspaces cannot be created or changed during the closed alpha. |
insufficient_scope | The API key lacks a required scope; see missing. |
Request
| Code | Meaning |
|---|
bad_request | The request is malformed. |
invalid_request | A field is missing or has an unacceptable value. |
invalid_scope | An unknown scope was requested. |
validation_error | The body or parameters failed validation; see errors. |
State
| Code | Meaning |
|---|
not_found | The resource does not exist, or is not visible to this caller. |
conflict | The request conflicts with the resource's current state. |
port_conflict | The host port is held by another deployment; see holder. |
payment_required | Out of credits, or a plan limit is reached; see detail. |
plan_required | The org's plan does not include this; Pro or Enterprise is needed (see detail). |
key_limit_reached | The org has reached its API key limit. |
idempotency_key_reused | This Idempotency-Key was used with a different request. |
idempotency_in_progress | A request with this Idempotency-Key is still running; retry after Retry-After. |
idempotency_unavailable | The coordinator cannot reach the store that makes Idempotency-Key safe, so it ran nothing; retry after Retry-After. Status 503. |
payload_too_large | The request body is too large. |
rate_limited | Too many requests; retry after the Retry-After header. |
device_limit | The account has as many devices as it may; remove one to add another. |
device_key_in_use | This device key is registered already, to another account or to a removed device. |
device_revoked | This device was removed; register the install again. |
app_update_required | The Passive app is below the supported version; see min_version. |
enrollment_not_approved | The account has no desktop access; request it, or ask for a contributor invite. Status 403. |
Server
| Code | Meaning |
|---|
unavailable | A dependency is unavailable; retry shortly. |
internal_error | The coordinator failed; retrying may help. |