Errors
Error format and the codes you may encounter.
{
"error": {
"code": "environment_not_ready",
"message": "Environment env_7f3a2c is provisioning.",
"status": 409,
"request_id": "req_2c9e…"
}
}| Code | Status | Meaning |
|---|---|---|
| unauthorized | 401 | Missing or invalid API key. |
| forbidden | 403 | Key lacks the required scope. |
| not_found | 404 | Resource does not exist in this workspace. |
| environment_not_ready | 409 | Environment is provisioning, paused, or archived. |
| run_in_progress | 409 | Another run is executing; retry or queue. |
| invalid_operation | 422 | An operation failed validation before execution. |
| artifact_missing | 422 | Referenced artifact is not registered. |
| limit_exceeded | 429 | A rate or resource limit was exceeded. |
| internal | 500 | Unexpected 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.