API error type
Maintenance
HTTP 503 https://errors.driftstack.dev/maintenance
What it means
A session start — POST /v1/agent-sessions, POST /v1/sessions or POST /v1/profiles/{id}/launch — was refused because every machine that could run the session is in a booked maintenance window. Nothing was created: no session, no session time counted, and nothing stored under your Idempotency-Key. Sessions already running are not affected. The body carries code: "maintenance", retryable: true, until (when the window ends, ISO 8601 in UTC) and retry_after_seconds (the seconds until then); the Retry-After header carries the same wait.
How to fix it
Send the same request again after retry_after_seconds at the latest (a window can end early, so it may work sooner) — the same Idempotency-Key is safe to reuse, because nothing was created. The SDKs raise MaintenanceError, which their retry predicate counts as retryable.
Where it appears
In the type field of the RFC 9457 application/problem+json error body, alongside title, status, detail, and an instance correlation id.
Related
- Feature unavailable
/feature-unavailable - Too Many Requests
/rate-limited