Platform API error codes
Every Platform API v1 error code with its recovery (authorize, configure, retry or none), its HTTP status and where it is answered.
Generated from the API contract (Agent Lab Platform API 1.0.0-alpha.1). Descriptions are the contract's own words.
The error body#
| Field | Type | Required | Description |
|---|---|---|---|
error | object | yes | — |
error.code | string | yes | Stable, UPPER_SNAKE_CASE. New codes may be added under an existing recovery. |
error.message | string | yes | For the developer's logs; not for display to a person, and never parsed. |
error.recovery | Recovery | yes | — |
error.requestId | string | yes | Quote it when asking for support. |
error.problems | Problem[] | no | With RUN_CONFIGURATION_INVALID: every problem found, each with its field. |
Recovery values#
What gets a refused request working again. Clients tolerate values added later. One of: authorize, configure, retry, none.
Codes#
| Code | Recovery | Status | Answered by |
|---|---|---|---|
CHANNEL_CLAIMED | none | 409 | Channels |
CHANNEL_MISSING_PERMISSION | configure | 409 | Outreach |
CHANNEL_RECIPIENT_UNREACHABLE | none | 422 | Outreach |
CONTRACT_UNAVAILABLE | not stated | 503 | Channel events |
CONVERSATION_ARCHIVED | none | 409 | Conversations |
CONVERSATION_LIMIT_REACHED | none | 409 | Runs |
ENTRY_ALREADY_DEPLOYED | none | 409 | Deployments |
IDEMPOTENCY_KEY_REQUIRED | none | 400 | Outreach |
INVALID_REQUEST | none | 400 | Channels, Connections |
KNOWLEDGE_DOCUMENT_LIMIT_REACHED | configure | 409 | Knowledge |
MEMBER_INACTIVE | authorize | 403 | Runs, Evaluations |
MEMBER_NOT_AUTHORIZED | authorize | 403 | Workspace, Knowledge, Channels, Runs, Evaluations, Conversations, Deployments, Usage, Memory, Transcriptions, Outreach, AI Gateway, Connections |
MEMBER_REQUIRED | none | 403 | Workspace, Knowledge, Channels, Runs, Evaluations, Conversations, Deployments, Usage, Memory, Transcriptions, Outreach, AI Gateway, Connections |
MEMORY_FACT_CHANGED | none | 409 | Memory |
PAYLOAD_TOO_LARGE | none | 413 | Account, Workspace, Knowledge, Channels, Runs, Evaluations, Conversations, Deployments, Memory, Transcriptions, Outreach, Connections |
PERSON_TOKEN_REQUIRED | none | 403 | Account |
PIN_LIMIT_REACHED | configure | 409 | Conversations |
PRODUCT_ACCESS_DENIED | configure | 403 | Workspace, Knowledge, Channels, Runs, Evaluations, Conversations, Deployments, Usage, Memory, Transcriptions, Outreach, AI Gateway, Connections |
REDIRECT_NOT_REGISTERED | configure | 400 | Channels, Connections |
REVISION_CONFLICT | none | 409 | Deployments |
RUN_BUDGET_REFUSED | configure | 402 | Runs, Evaluations |
RUN_CONFIGURATION_INVALID | none | 422 | Runs, Evaluations, Deployments |
RUN_IN_PROGRESS | retry | 409 | Runs |
RUN_MODEL_UNAVAILABLE | configure | 422 | Runs, Evaluations |
SCOPE_NOT_GRANTED | authorize, configure | 403 | Account, Installation, Workspace, Knowledge, Channels, Runs, Evaluations, Conversations, Deployments, Usage, Memory, Transcriptions, Outreach, AI Gateway, Connections |
SERVER_TO_SERVER_ONLY | none | 403 | Account, Workspace, Knowledge, Channels, Runs, Evaluations, Conversations, Deployments, Usage, Memory, Transcriptions, Outreach, AI Gateway, Connections |
TOOL_APPROVAL_NOT_PERMITTED | none | 403 | Runs |
TOOL_CALL_NOT_PENDING | none | 409 | Runs |
TRANSCRIPTION_BUDGET_REFUSED | configure | 402 | Transcriptions |
WORKSPACE_CREATION_LIMIT_REACHED | none | 403 | Account |
WORKSPACE_NOT_INSTALLED | configure | 403 | Workspace, Knowledge, Channels, Runs, Evaluations, Conversations, Deployments, Usage, Memory, Transcriptions, Outreach, AI Gateway, Connections |
WORKSPACE_SLUG_UNAVAILABLE | none | 409 | Account |