NOME
Docs/Reference

Errors

Error format and the codes you may encounter.

errorjson
{
  "error": {
    "code": "environment_not_ready",
    "message": "Environment env_7f3a2c is provisioning.",
    "status": 409,
    "request_id": "req_2c9e…"
  }
}
CodeStatusMeaning
unauthorized401Missing or invalid API key.
forbidden403Key lacks the required scope.
not_found404Resource does not exist in this workspace.
environment_not_ready409Environment is provisioning, paused, or archived.
run_in_progress409Another run is executing; retry or queue.
invalid_operation422An operation failed validation before execution.
artifact_missing422Referenced artifact is not registered.
limit_exceeded429A rate or resource limit was exceeded.
internal500Unexpected failure; include request_id when reporting.

Reverted operations are not API errors. They are recorded as part of a run with status reverted. See Execution.