Skip to content

Reference

Error codes

Every error code, its HTTP status and whether retrying can help.

Last updated:

An error carries code, message, hint and retryable. The CLI exits with 2 for a retryable code and 1 otherwise.

Errors of the editing commands#

Raised by the command core when an operation of a batch is refused.

CodeHTTPRetryableMeaning
E_FONT_UNKNOWN422no
E_ID_EXISTS409no
E_IDEMPOTENCY_MISMATCH409no
E_IN_USE409no
E_INTERNAL500no
E_INVALID_STATE409no
E_INVALID_TIME400no
E_LIMIT422no
E_NOT_EMPTY409no
E_NOT_FOUND404noalso used by the service for unknown projects, jobs, templates
E_OUT_OF_SOURCE422no
E_OVERLAP409no
E_REVISION_CONFLICT409yes
E_SLOT422no
E_TYPE_MISMATCH422no
E_UNKNOWN_COMMAND400no
E_VALIDATION400no

Errors of the service#

Raised around the commands: sign-in, imports, exports, jobs and limits. They appear in the results of the calls that raise them. A code that is not in the status table of the service answers with HTTP 500, which is the status of the failures of a job.

CodeHTTPRetryableMeaning
E_AGENT_NOT_FOUND404nothe agent profile does not exist (SDD-017 §11)
E_AGENT_UNAVAILABLE503nothe hosted agent could not be started or opened; details.reason not_found, start_failed, exited, timeout, protocol, protocol_version, no_http_mcp, sign_in_required, limit (SDD-017 §11)
E_APPROVAL_EXPIRED409noin the error of a job whose approval request expired before a person answered (SDD-015 §3)
E_APPROVAL_NOT_FOUND404nothe approval request or the approval rule does not exist (SDD-015 §8)
E_ASSET_NOT_READY409yesthe asset is still ingesting; details has asset_id, state and progress (0 to 1) when an edit names it; the read of the peaks of a long sound waiting for its job has details.reason peaks_pending, progress and, once its job is queued, job_id (SDD-011 §6.3.1)
E_CANCELLED500nothe job was cancelled
E_CAPTURE_FAILED502noa capture ended badly: details.reason source_gone, unsupported, encoder_failed, io, helper_lost, no_frames, protocol, or, for a recording made in a browser, assemble (the uploaded chunks could not be made into a readable file) or ffmpeg_missing; the reason of a recording that failed at its end is the start of its message, as in no_frames: ... (SDD-025 §6, §10, §18.5)
E_CAPTURE_UNAVAILABLE503noscreen capture cannot run here: details.reason platform (not Windows), web, network_mode, ffmpeg_missing, helper_missing or protocol_version (SDD-025 §1)
E_CHAT_NOT_FOUND404nothe chat session does not exist, or the caller may not see its project (SDD-017 §11)
E_CLIENT_CLOSED499nothe caller closed the request (or its deadline passed) before the answer; status 499, logged below error level, never a server fault
E_CONNECTION_DESTINATION403noa request through a connection is for a host or a scheme it does not allow (SDD-014 §6)
E_CONNECTION_NOT_FOUND404nothe connection does not exist or was removed (SDD-014 §7)
E_COST_CEILING422noan estimate is over a cost ceiling; details hold scope, reason, limit_micros, spent_micros, estimate_micros, currency; nothing was spent (SDD-015 §6)
E_EXPORT_FAILED500nothe export process failed; details.reason
E_FFMPEG_MISSING503nono usable FFmpeg was found
E_FILE_NOT_FOUND404nothe path does not exist or cannot be read
E_FORBIDDEN403nothe key lacks the scope or is limited to another project
E_INGEST_FAILED500noingest failed; details.reason
E_LIMIT_EXCEEDED422noa configured ceiling (file size, duration, resolution) is exceeded
E_LINT_BLOCKING422noan export was refused because the lint has errors; details.findings
E_LOCKED423nothe studio is locked: an account exists and nobody is signed in, so the data key is not in memory and nothing of the user's content can be read or written; details.reason is locked; the message says "unlock Stuarty with your password" (ADR-0052, SDD-007 §3.9)
E_METHOD_NOT_ALLOWED405noHTTP only: the route does not answer that method; OPTIONS is always refused (no CORS, SDD-007 §3.6)
E_NO_ENCODER503nono encoder works on this machine for the codec the export needs (H.264, or the details.codec that was asked for: hevc or av1, SDD-004 section 8.3); details.reason codec_unavailable and details.candidates
E_NOTHING_TO_REDO409nothe actor has no step to undo or redo
E_NOTHING_TO_UNDO409nothe actor has no step to undo or redo
E_PATH_NOT_ALLOWED403noa path is outside the allowed import roots or is not a regular file
E_PAYLOAD_TOO_LARGE413noa request or batch is too large
E_PRICE_UNKNOWN422nono price is known for the model of a generation, so no estimate can be made; details hold provider and model (SDD-016 §4.2)
E_PRIVILEGED_SESSION403nothe operation is for a person in a privileged browser session; the caller is the local token, a key or an agent surface (SDD-015 §4)
E_PROVIDER502noan AI provider refused or failed a request; details.kind is auth, rate_limited, bad_request, unavailable, unreadable, refused (a prompt the provider declined) or timeout, with status, code and retry_after_seconds when known; the body of the provider is never in it (SDD-016 §8)
E_PUBLISH502noa network refused or failed a publication; details.kind is quota, not_eligible, auth, invalid, rejected or unavailable, with network and, for a quota, retry_after; the retryable of the error is true for the kinds quota, auth and unavailable (SDD-020 §7.3)
E_QUEUE_FULL429yesa concurrency limit is reached; details.limit names it (exports, exports_per_key, ingests, transcribes, streams, frames) with value and ceiling, and details.running lists the jobs of a job queue
E_RATE_LIMITED429yesthe caller sent too many requests; the answer carries Retry-After, and details has retry_after, limit, value and ceiling
E_RECORDING_NOT_FOUND404nothe recording does not exist, or the caller may not see it (a dismissed one, SDD-025 §4)
E_TRANSCRIBE_FAILED500noa transcription ran and failed (no output, provider error, no word timings); details.reason
E_TRANSCRIBE_UNAVAILABLE503nono transcription provider is installed or configured, or another local helper (the face tracking set face, SDD-024 §3) is not installed; details names what is missing, its download size, the install command and the tool and model it installs
E_UNAUTHORIZED401nomissing or invalid token, key or session
E_UNSUPPORTED_MEDIA422nothe file is not media FFmpeg can decode, or has no usable stream
E_VAULT_LOCKED503nothe vault cannot be opened: master key missing, wrong or not storable; details.reason (SDD-014 §4)
E_VERIFY_FAILED500nothe exported file did not pass verification; details.checks
E_WEBHOOK_NOT_FOUND404nothe webhook or the delivery does not exist (SDD-022 §8)
E_WORKSPACE_LOCKED503yesanother process owns the workspace and cannot be reached