Each code has one HTTP status and one retry class. details holds only the fields listed
here for the code. The spec’s x-error-catalog is the public list; the status, retry class and
message come from the public error registry locked by CONTRACT.lock. How to
act on a code is described on Errors.
The catalog has 71 codes.
| Code | HTTP | Retry | Public details | Message | Declared by | Note |
|---|---|---|---|---|---|---|
invalid_request | 400 | no | field, fields, allowed | The request is not valid. | Every operation | |
unauthenticated | 401 | no | none | Authentication is required. | Every operation | |
forbidden | 403 | no | required_role, required_capabilities | This action is not permitted. | Every operation | The key lacks a capability. details.required_capabilities lists every missing capability, including conditional ones. |
organization_paused | 403 | no | none | Calls are stopped for this organization. Contact team@rasen.ai. | createAgentSession, createCall | Calls from this organization are stopped by a staff pause, so nothing was started or dialled. Do not retry: the organization owner contacts team@rasen.ai. |
sip_trunk_not_enabled | 403 | no | none | SIP trunking is not enabled for this workspace. | connectSipTrunk, createSipInboundConnection, createSipOutboundTrunk, deleteSipInboundConnection, deleteSipOutboundTrunk, disconnectSipTrunk, importSipNumber, regenerateSipAddress, updateSipInboundConnection, updateSipOutboundTrunk | SIP trunking is not enabled for this workspace. |
workspace_archived | 403 | no | none | This workspace is archived. | Every operation | The workspace is archived, so a key can neither read nor write. The organisation owner can restore it. |
workspace_concurrency_unallotted | 403 | no | none | No concurrency is allotted to this workspace. Check your organization settings page. | createAgentSession, createCall | No concurrency is allotted to this workspace, so nothing was started or dialled. An organization Owner or Admin sets the share in organization settings. |
workspace_view_only | 403 | no | none | This workspace is view-only on your plan. | 77 operations | The workspace is view-only, so a key can read and cannot write. |
not_found | 404 | no | none | The resource was not found. | 112 operations | |
agent_archived | 409 | no | agent_id | The agent has been archived. | 29 operations | The agent is archived. Edits, validation, publication and rollback are refused. Call start uses agent_not_live with details.state=archived. |
agent_deleting | 409 | no | none | The agent is being deleted. | unarchiveAgent | The agent’s permanent deletion has started; it cannot be unarchived. When the deletion finishes the agent reads as not_found. |
agent_model_language_mismatch | 409 | no | language, modality | This agent runs a custom model that does not support this language. | publishAgent, rollbackAgent, updateAgentDraft | The agent runs a custom model that does not support the requested language: a draft write that changes the language, a publish, or a rollback to a version in another language. Nothing is written. Keep the agent’s current language, or roll back to a version in it. |
agent_name_taken | 409 | no | agent_id, name | An agent already uses this name. | createAgent, updateAgent | |
agent_not_assigned | 409 | no | agent_id | The agent has no assigned checkpoint. | createCall | |
agent_not_live | 409 | no | agent_id, state | The agent is not live. | addPhoneNumberOutboundAgent, createAgentSession, createCall, setPhoneNumberInboundAgent | |
agent_not_published | 409 | no | none | The agent has not been published. | 14 operations | |
already_terminal | 409 | no | none | The operation has already ended. | admitCampaign, cancelCampaign, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadCampaign | The operation has already ended. |
archive_blocked | 409 | no | reason | The agent cannot be archived while work is running. | archiveAgent | The agent cannot be archived while work is running. details.reason is an open vocabulary listed per operation in x-archive-blocked-reasons. Retry with a new Idempotency-Key after the work ends. |
call_not_admittable | 409 | no | reasons | The call cannot be admitted. | createAgentSession, createCall | |
carrier_action_required | 409 | no | carrier, capability | The carrier needs a setup step. | provisionPhoneNumber, removePhoneNumberInboundAgent, setPhoneNumberInboundAgent | |
carrier_capability_unsupported | 409 | no | carrier, capability | The carrier does not support this. | provisionPhoneNumber, setPhoneNumberInboundAgent | |
carrier_not_activated | 409 | no | carrier | The carrier is not available yet. | connectSipTrunk, createSipInboundConnection, createSipOutboundTrunk, deleteSipInboundConnection, deleteSipOutboundTrunk, disconnectSipTrunk, importSipNumber, regenerateSipAddress, updateSipInboundConnection, updateSipOutboundTrunk | The carrier is not available yet. |
conflict | 409 | no | reason, current_live_version_id, numbers, destinations | The request conflicts with the current state. | 57 operations | State conflict. details.reason (open vocabulary, listed per operation in x-conflict-reasons) says which recovery applies. |
credential_unavailable | 409 | no | none | The credential is unavailable. | 15 operations | |
deletion_blocked | 409 | no | reason | The item cannot be deleted while work is running or a hold applies. | archiveKnowledgeSource, deleteKnowledgeSource, deleteSecret | Deletion or removal is refused while a current reference or retention hold applies. details.reason is an open vocabulary listed per operation in x-deletion-reasons. For Knowledge, snapshot_reference and published_reference require retained content; archive the source instead. Legacy draft knowledge fields do not block Knowledge removal. Secret deletion remains refused while its draft or retained publication references exist, where draft_reference still applies. |
draft_conflict | 409 | no | expected_etag, current_etag, changed_at | The draft has changed since it was read. | 13 operations | Stale revision on an agent, draft, variable, tool, MCP server or publication token. Re-read, re-apply your intended change and retry with the new ETag. Never blindly retry with a fresh ETag. details.expected_etag is the If-Match you sent and details.current_etag is the current ETag, both opaque strings. A publication-token mismatch uses the same shape, even when only a bound tool, MCP server, secret version or direct-library source changed. |
idempotency_in_progress | 409 | retry_after | none | The same request is still in progress. | 72 operations | The same intent is still running. Wait for Retry-After, then resend the identical request with the same key and original If-Match. |
idempotency_key_expired | 409 | no | idempotency_key | The idempotency key has expired. | 62 operations | |
idempotency_key_reused | 409 | no | idempotency_key, operation, original_result_kind, original_state | The idempotency key was used for a different request. | 72 operations | This key was used for a different request. Fix the caller; never retry a changed intent with the old key. |
idempotency_result_gone | 409 | no | idempotency_key, operation, result_kind, result_ref | The original result is no longer available. | 69 operations | |
inbound_claimed_elsewhere | 409 | no | none | This number already answers inbound calls in another workspace. | Not declared by a single operation | |
knowledge_snapshot_unavailable | 409 | no | snapshot_id | The knowledge index is not available. | publishAgent, updateAgentDraft, validateAgentDraft | |
language_gender_unavailable | 409 | no | language, grammatical_gender, genders | This language has no voice of this gender. | createAgent, updateAgentDraft | The voice model of the agent’s language has no voice of the agent’s grammatical gender (US English has female voices only). Nothing is written. Choose one of the genders in details.genders, or another language. |
language_unavailable | 409 | no | language, caller_region | This language is not available in the workspace’s caller region. | createAgent, publishAgent, rollbackAgent, unarchiveAgent, updateAgentDraft | The agent language is not offered to this workspace: it has no default models, or no model servers in the workspace’s caller region hold them and have proved it, or the region has no call host in service. A model server that restarts does not change the answer. Choose another language. |
mcp_auth_mode_unsupported | 409 | no | mode, supported | This authentication mode is not supported. | createMcpServer, discoverMcpTools, replaceMcpServer | |
mcp_schema_drift | 409 | no | tool, kind | The remote server no longer matches the published tools. | createAgentTool, publishAgent, replaceAgentTool, validateAgentTool | |
mcp_tool_not_allowed | 409 | no | tool | The tool is not on the allowlist. | createAgentTool, replaceAgentTool, validateAgentTool | |
no_ready_placement | 409 | no | modality, fallback_mode | There is no ready placement. | createAgentSession, createCall | |
no_recipients | 409 | no | none | There are no recipients. | admitCampaign, cancelCampaign, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadCampaign | There are no recipients. |
not_dialing | 409 | no | none | The campaign is not dialing. | admitCampaign, cancelCampaign, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadCampaign | The campaign is not dialing. |
not_draft | 409 | no | none | The resource is not a draft. | admitCampaign, cancelCampaign, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadCampaign | The resource is not a draft. |
not_paused | 409 | no | state | The campaign is not paused. | admitCampaign, cancelCampaign, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadCampaign | The campaign is not paused. |
not_planned | 409 | no | none | The operation has not been planned. | admitCampaign, cancelCampaign, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadCampaign | The operation has not been planned. |
not_served_in_region | 409 | no | reason, caller_region, language | This agent’s language is not served in the workspace’s caller region. | createAgentSession, createCall | No model servers (reason no_pool) or no call host (reason no_call_host) in the workspace’s caller region can run this agent’s language. The call is refused and is never sent to the models of another language. Not retryable until the language or the caller region changes. |
number_in_use | 409 | no | reason | The number is still in use. | removeImportedPhoneNumber | |
number_not_outbound | 409 | no | none | The number does not support outbound calls. | addPhoneNumberOutboundAgent, admitCampaign, cancelCampaign, createCall, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadCampaign | |
provider_account_exists | 409 | no | none | The provider account already exists. | createTelephonyConnection, deleteTelephonyConnection, importPhoneNumbers, removeImportedPhoneNumber, replaceTelephonyConnection | |
resource_key_conflict | 409 | no | existing_id, resource_type | A resource with this resource key already exists. | createAgent, createAgentKnowledgeSource, createAgentTool, createKnowledgeSource, createMcpServer, createSecret, replaceAgentTool, replaceMcpServer, uploadAgentKnowledgeSource, uploadKnowledgeSource | A resource of this type already has this resource_key. details.existing_id identifies it; read it and reconcile. details.resource_type is one of agent, mcp_server, knowledge_source or secret (open vocabulary). |
telephony_not_connected | 409 | no | mode | Telephony is not connected. | 27 operations | |
tool_name_conflict | 409 | no | name, count | Two tools use the same name. | createAgentTool, replaceAgentTool, validateAgentTool | |
tool_pre_call_exists | 409 | no | none | This agent already has a tool that runs before the call. | createAgentTool, replaceAgentTool, validateAgentTool | The agent already has a before-call tool. Replace or delete it, or make this tool during_call. |
workspace_unavailable | 409 | no | none | The workspace is unavailable. | 75 operations | |
payload_too_large | 413 | no | bytes, limit_bytes | The payload exceeds the size limit. | 40 operations | |
unsupported_media_type | 415 | no | content_type, expected | The media type is not supported. | admitCampaign, cancelCampaign, createCampaign, pauseCampaign, planCampaign, resumeCampaign, retryCampaign, startCampaign, suppressCampaignDestination, uploadAgentKnowledgeSource, uploadCampaign, uploadKnowledgeSource | |
outbound_destination_refused | 422 | no | none | The destination is not permitted. | 21 operations | |
tool_body_on_get_or_delete | 422 | no | field, index, name | A GET or DELETE tool cannot send a body. Move its body values to the query or the path, and its effect id to a header. | createAgentTool, publishAgent, replaceAgentTool, validateAgentTool | A GET or DELETE tool sends no body. Move its body values to the query or the path, and its effect id to a header. At publish, name is the tool to edit. |
tool_pre_call_bounds | 422 | no | field, minimum, maximum | A limit of the tool is outside the bounds for a tool that runs before the call. | createAgentTool, replaceAgentTool, validateAgentTool | A limit of a before-call tool is outside its bounds: deadline_ms 500 to 10000, max_response_bytes at most 4096, wait_for_response true. details.field names the limit. |
tool_pre_call_llm_parameter | 422 | no | field, index | A tool that runs before the call cannot have a parameter that the model fills. | createAgentTool, replaceAgentTool, validateAgentTool | A before-call tool has a parameter with source model. details.field is definition.parameters and details.index the parameter. Use constant or dynamic_variable. |
tool_pre_call_name | 422 | no | field | The name of a tool that runs before the call cannot be a variable name. | createAgentTool, publishAgent, replaceAgentTool, validateAgentTool | The name of a before-call tool is an agent variable, agent_name or language, or starts with system__. At publish, a variable of the draft has the before-call tool’s name. Rename the tool or the variable. |
tool_pre_call_side_effect | 422 | no | field | A tool that runs before the call must be a lookup that is sent once. | createAgentTool, replaceAgentTool, validateAgentTool | A before-call tool must have side_effect none and retry_posture none. details.field names the field. |
revision_required | 428 | no | header | The request requires a revision. | 44 operations | |
quota_exceeded | 429 | retry_after | meter, period, period_end, limit, used, requested, available, unit | The quota has been exceeded. | Every operation | |
rate_limited | 429 | retry_after | limit, scope, window_s | The request rate limit has been reached. | Every operation | |
workspace_concurrency_full | 429 | retry_after | active, limit, reason | The concurrency limit for this workspace is hit. Check your organization settings page. | createAgentSession, createCall | The workspace’s share, or its organization’s total, is full, so nothing was started or dialled. Retry after Retry-After. |
internal_error | 500 | yes | request_id | The request could not be completed. | Every operation | For an operation that takes an Idempotency-Key, a client retry with the same key is safe: the server replays the stored outcome if the first attempt took effect; if the first attempt had no effect, the retry performs the operation once. Never retry with a new key. |
provider_unavailable | 502 | no | reason | The provider is unavailable. | createCall, createTelephonyConnection, deleteTelephonyConnection, endCall, importPhoneNumbers, listAvailablePhoneNumbers, provisionPhoneNumber, removeImportedPhoneNumber, removePhoneNumberInboundAgent, replaceTelephonyConnection, setPhoneNumberInboundAgent | For an operation that takes an Idempotency-Key, a client retry with the same key is safe: the server replays the stored outcome if the first attempt took effect; if the first attempt had no effect, the retry performs the operation once. Never retry with a new key. details.reason (optional, open vocabulary) names a known local cause: sip_trunk_not_ready on provisionPhoneNumber means the workspace’s SIP trunk setup is not ready and no carrier was contacted; read getSipTrunkSetup, wait for state ready (or retry a failed setup with connectSipTrunk), then retry with a new Idempotency-Key. |
admission_busy | 503 | retry_after | waited_ms | The admission service is busy. | createAgentSession, createCall | Admission was busy for this organization and could not decide the call in time, so nothing was started or dialled. Wait at least Retry-After seconds, then send the identical request with the same Idempotency-Key. |
at_capacity | 503 | retry_after | active, class, limit, reason | There is no capacity available. | Every operation | No line is free for the call, so nothing was started or dialled. details.reason workspace_limit: the workspace already runs details.active calls at the same time and its limit is details.limit (default 3); end a call or wait for one to finish. Any other details.reason, including one this document does not name: the platform is at capacity. The refusal is not stored: wait at least Retry-After seconds, then send the identical request with the same Idempotency-Key, and it is admitted afresh. Back off between attempts. Never retry with a new key. |
call_orchestrator_unavailable | 503 | retry_after | none | No orchestrator answers. | Every operation | For an operation that takes an Idempotency-Key, a client retry with the same key is safe: the server replays the stored outcome if the first attempt took effect; if the first attempt had no effect, the retry performs the operation once. Never retry with a new key. |
ingress_unconfigured | 503 | no | none | The ingress is not configured. | connectSipTrunk, createSipInboundConnection, createSipOutboundTrunk, deleteSipInboundConnection, deleteSipOutboundTrunk, disconnectSipTrunk, importSipNumber, regenerateSipAddress, updateSipInboundConnection, updateSipOutboundTrunk | The ingress is not configured. |
unavailable | 503 | retry_after | dependency | The service is unavailable. | Every operation | For an operation that takes an Idempotency-Key, a client retry with the same key is safe: the server replays the stored outcome if the first attempt took effect; if the first attempt had no effect, the retry performs the operation once. Never retry with a new key. |