Speko Docs
API Reference

Error codes

Every error code the API returns, what it means, and whether retrying can help.

Every error response carries a code from this list. Retry says whether sending the identical request again could succeed; it is the same value as retryable in the response body. The response envelope is described under Errors.

427 codes, 52 with a written explanation. The same catalog is served as JSON by GET /v1/errors and GET /v1/errors/{code}, which need no API key.

Authentication and access

CodeRetryMeaning
ACCOUNT_ALREADY_CLAIMEDNoNot documented yet.
API_KEY_REQUIREDNoThe request carried no credential. What to do: Send Authorization: Bearer <key>, or run speko login if you are using the CLI.
AUTH_INVALID_KEYNoNot documented yet.
AUTH_KEY_REVOKEDNoNot documented yet.
CLAIM_TOKEN_EXPIREDNoNot documented yet.
CLAIM_TOKEN_INVALIDNoNot documented yet.
CLAIM_TOKEN_MISSINGNoNot documented yet.
CLAIM_TOKEN_USEDNoNot documented yet.
FORBIDDENNoThe credential is valid but not allowed to do this. What to do: Check the key's scopes and the caller's role in the workspace. A CLI session deliberately cannot read organization credentials or touch billing.
INVALID_SHARE_TOKENNoNot documented yet.
MCP_AUTH_REQUIREDNoNot documented yet.
MCP_OAUTH_NOT_SUPPORTEDNoNot documented yet.
MCP_OAUTH_REGISTRATION_FAILEDNoNot documented yet.
MCP_OAUTH_REQUIRES_USERNoNot documented yet.
MCP_OAUTH_UNAVAILABLENoNot documented yet.
OAUTH_AUTHORIZATION_REQUEST_INVALIDNoNot documented yet.
OAUTH_CONFIRMATION_BROWSER_MISMATCHNoNot documented yet.
OAUTH_CONFIRMATION_REQUIREDNoNot documented yet.
OAUTH_INSUFFICIENT_SCOPENoNot documented yet.
OAUTH_INVALID_STATENoNot documented yet.
OAUTH_MISSING_CODENoNot documented yet.
OAUTH_MISSING_PARAMSNoNot documented yet.
OAUTH_NOT_CONFIGUREDNoNot documented yet.
OAUTH_PROVIDER_ERRORNoNot documented yet.
OAUTH_STATE_EXPIREDNoNot documented yet.
OAUTH_STATE_ORG_MISMATCHNoNot documented yet.
OAUTH_STATE_USER_REVOKEDNoNot documented yet.
PHONE_NUMBER_CONSENT_REQUIREDNoThe workspace has the phone-calling scope but has not accepted the phone-use consent required before placing OAuth MCP calls. What to do: Complete the phone-use consent screen for this workspace, then retry - no reconnect needed.
PHONE_NUMBER_PRICE_REQUIRES_DASHBOARDNoThe number costs more than the standard $1 setup and $2 a month, and the request came from an MCP or OAuth connector. A connector can only buy standard-price numbers. Nothing was ordered or charged. What to do: Tell the owner the quote in the response; they can buy the number on the Phone numbers page of the dashboard, or pick a standard-price number.
PHONE_NUMBER_SCOPE_REQUIREDNoThe OAuth MCP token was minted before phone-calling scope existed, or from a client that never re-authorized since - it does not carry the speko:phone scope no matter how many times it has refreshed. What to do: The grant does not carry speko:phone. Only a fresh authorization adds it - a token refresh never will.
SENDER_NOT_AUTHORIZEDNoNot documented yet.
SIP_GATEWAY_DISABLEDNoSIP gateway access is a per-organization feature for numbers that sit behind the customer's own PBX or phone system, and it is off for this one. Using a number from a carrier or VoIP provider does not need it. What to do: To use a number from a carrier or VoIP provider (Twilio, Telnyx, Vonage, a SIP trunk provider), skip the SIP gateway: add a carrier connection, then import the number (dashboard Phone numbers > Import number > Add carrier connection, where Twilio numbers can use Connect Twilio; API POST /v1/integrations/sip_connection/install then POST /v1/phone-numbers/import; MCP phone_numbers.sip_connections.create then phone_numbers.import). No access request is needed for that. Only if the numbers sit behind the user's own PBX, ask Speko support to enable the SIP gateway for this organization. No key, scope or role change turns it on, so do not retry.
SIP_GATEWAY_SYNC_FORBIDDENNoNot documented yet.
SIP_GATEWAY_SYNC_UNAUTHORIZEDNoNot documented yet.
TOKEN_REPLAYNoNot documented yet.
TWILIO_AUTH_FAILEDNoNot documented yet.
UNAUTHORIZEDNoThe credential was rejected. What to do: It may be revoked or expired. Mint a new key, or run speko login again.

Not found

CodeRetryMeaning
AGENT_NOT_FOUNDNoNo agent with that id in this workspace. What to do: List them with speko agents list. Ids are prefixed agent_.
BATCH_NOT_FOUNDNoNot documented yet.
CALLER_AGENT_NOT_FOUNDNoNot documented yet.
CHECKOUT_SESSION_NOT_FOUNDNoNot documented yet.
CONSENT_NOT_FOUNDNoNot documented yet.
CONVERSATION_NOT_FOUNDNoNot documented yet.
INSTALLATION_NOT_FOUNDNoNot documented yet.
INTEGRATION_ACTION_NOT_FOUNDNoNot documented yet.
INTEGRATION_APP_NOT_FOUNDNoNot documented yet.
INTEGRATION_NOT_FOUNDNoNot documented yet.
MCP_CONNECTION_NOT_FOUNDNoNot documented yet.
MESSAGE_NOT_FOUNDNoNot documented yet.
NOT_FOUNDNoThe addressed resource does not exist, or is not visible to this workspace. What to do: Resources are workspace-scoped: an id from another workspace reads as absent rather than forbidden, so confirm the credential belongs to the workspace that owns it.
ORGANIZATION_NOT_FOUNDNoNot documented yet.
ORG_NOT_FOUNDNoNot documented yet.
PAYMENT_NOT_FOUNDNoNot documented yet.
PHONE_NOT_FOUNDNoNot documented yet.
PHONE_NUMBER_NOT_FOUNDNoNo phone number with that id in this workspace.
PROVIDER_NOT_FOUNDNoNot documented yet.
RECIPIENT_NOT_FOUNDNoNot documented yet.
REPORT_NOT_FOUNDNoNot documented yet.
SESSION_NOT_FOUNDNoNo session with that id. What to do: A session id comes back from placing a call; it is not the same as the agent id.
SIP_CONNECTION_NOT_FOUNDNoNot documented yet.
SIP_GATEWAY_CREDENTIAL_NOT_FOUNDNoNot documented yet.
SIP_GATEWAY_PENDING_NUMBER_NOT_FOUNDNoNot documented yet.
TICKET_NOT_FOUNDNoNot documented yet.
TRANSFER_NOT_FOUNDNoNot documented yet.
TWILIO_NUMBER_NOT_FOUNDNoNot documented yet.
VERSION_NOT_FOUNDNoNot documented yet.
VOICE_NOT_FOUNDNoNot documented yet.

Validation

CodeRetryMeaning
ACKNOWLEDGEMENT_REQUIREDNoNot documented yet.
AGENT_REQUIREDNoNot documented yet.
APPEAL_REASON_REQUIREDNoNot documented yet.
ASSIGNED_CAMPAIGN_REQUIREDNoNot documented yet.
BAD_REQUESTNoThe request was rejected before it reached any handler logic.
BRAND_REQUIREDNoNot documented yet.
CALLER_NAME_INVALIDNoThe caller name breaks the listing rule: letters, digits and spaces, 15 characters at most. What to do: Shorten it or drop the punctuation; the error message names the rule that failed.
CALLER_NAME_NOT_SUPPORTEDNoThis number cannot carry a caller name: only US local numbers bought through Speko can. callerNameSupported on the number says which. What to do: For a number imported from your own carrier, set the caller name with that carrier.
CAMPAIGN_CONTENT_INVALIDNoNot documented yet.
CONSENT_REQUIREDNoNot documented yet.
DEDICATED_NUMBER_REQUIREDNoNot documented yet.
DESTINATION_NOT_ALLOWEDNoThe number to call or transfer to is in a sanctioned country or region (Iran, Syria, Cuba, North Korea, Crimea, or the Donetsk / Luhansk regions), so Speko refused it before dialing. What to do: Speko cannot place calls to these destinations. The message names the blocked prefix.
DTMF_IN_PHONE_NUMBERNoto carries keys or pauses after the number (a dialer string such as "+12015551234,,1"). to must be a bare E.164 number. What to do: Send the bare number in to and the keys in telephony.dtmf (for example "ww1"). They are pressed after answer, before the agent speaks.
IDEMPOTENCY_KEY_REQUIREDNoNot documented yet.
INVALID_ASSIGNEENoNot documented yet.
INVALID_AUDIONoNot documented yet.
INVALID_BODYNoThe body was well-formed JSON but not the shape this endpoint expects.
INVALID_CODENoNot documented yet.
INVALID_CONSENTNoNot documented yet.
INVALID_CURSORNoNot documented yet.
INVALID_GRAPHNoNot documented yet.
INVALID_JSONNoThe request body was not parseable JSON. What to do: Usually a truncated body or a shell quoting problem. With the CLI, prefer --file over --data for anything containing quotes.
INVALID_MESSAGESNoNot documented yet.
INVALID_METADATANoNot documented yet.
INVALID_PAYLOADNoNot documented yet.
INVALID_POLICYNoNot documented yet.
INVALID_PROFILENoNot documented yet.
INVALID_PROVIDER_OPTIONSNoNot documented yet.
INVALID_RECIPIENTNoNot documented yet.
INVALID_REQUESTNoNot documented yet.
INVALID_REVISIONNoNot documented yet.
INVALID_SCHEDULENoNot documented yet.
INVALID_SIGNATURENoNot documented yet.
INVALID_SUPERSEDENoNot documented yet.
INVALID_TEMPLATENoNot documented yet.
INVALID_TEXTNoNot documented yet.
INVALID_TOOL_ARGS_IN_HISTORYNoNot documented yet.
INVALID_VERSIONNoNot documented yet.
INVALID_WORKFLOWNoNot documented yet.
MISSING_AGENT_OR_INTENTNoNot documented yet.
NATIVE_CONFIG_INVALIDNoNot documented yet.
ORG_ADMIN_REQUIREDNoNot documented yet.
ORG_REQUIREDNoNot documented yet.
OTP_INVALIDNoNot documented yet.
OUTBOUND_DTMF_NOT_DRAFTABLENoA draft save included outboundDtmf. Drafts and versions do not carry it: the dial path reads it off the agent itself. What to do: Set it with PATCH /v1/agents/{id} instead. It takes effect at once, like ringTimeoutSeconds.
PARAMS_UNSUPPORTED_ON_PINNED_TRANSPORTNoA 'livekit:' STT or TTS pin was sent together with sttOptions or ttsOptions provider parameters, which LiveKit Inference does not forward. What to do: Remove the sttOptions/ttsOptions parameters, or pin the vendor directly (for example 'deepgram:nova-3') instead of 'livekit:deepgram/nova-3'.
PHONE_NUMBER_ADDITIONAL_PURCHASE_UNCONFIRMEDNoThe workspace already has a phone number, and an MCP or OAuth connector asked to buy another without confirming. Nothing was ordered or charged. What to do: Use a number in ownedNumbers (link an agent with PATCH /v1/phone-numbers/{id}), or ask the owner and, on their OK, send POST /v1/phone-numbers again with confirmAdditionalNumber: true.
PHONE_NUMBER_CARD_REQUIREDNoNot documented yet.
PHONE_NUMBER_PRICE_CONFIRMATION_REQUIREDNoThe number costs more than the standard $1 setup and $2 a month (the carrier charges more for it), and the request did not confirm its current price. Nothing was ordered or charged. What to do: Show the owner the quote in the response, and on their OK send POST /v1/phone-numbers again with expectedUpfrontCostUsd and expectedMonthlyCostUsd at or above it.
PHONE_NUMBER_PRICE_NOT_SUPPORTEDNoThe number is premium-rate, outside the US and Canada, or the carrier sends no price for it. Speko sells local and toll-free US and Canadian numbers. What to do: Pick a number from GET /v1/phone-numbers/available (numberType=toll_free for toll-free), or import the number from your own carrier over SIP.
PHONE_NUMBER_PROVISIONING_CREDITS_REQUIREDNoNot documented yet.
PIPECAT_RUNTIME_REQUIREDNoNot documented yet.
PIPECAT_WORKFLOW_REQUIREDNoNot documented yet.
PROFILE_REQUIREDNoNot documented yet.
PROVIDER_CONFIG_INVALIDNoNot documented yet.
PROVIDER_KEY_MISSINGNoNot documented yet.
RECIPIENT_TIMEZONE_REQUIREDNoNot documented yet.
RING_TIMEOUT_OUT_OF_RANGENoringTimeoutSeconds (how long an outbound call rings before it ends as no-answer) is not a whole number from 20 to 45. What to do: Send an integer from 20 to 45, or omit the field for the 45-second default. On an agent update, null clears it.
SIP_GATEWAY_INVALID_CIDRNoNot documented yet.
SIP_GATEWAY_INVALID_CONCURRENCYNoNot documented yet.
SIP_GATEWAY_INVALID_NUMBERNoNot documented yet.
SIP_GATEWAY_INVALID_PBXNoNot documented yet.
SIP_INBOUND_CREDENTIALS_REQUIREDNoNot documented yet.
SIP_TRUNK_REQUIREDNoNot documented yet.
SOUND_UPLOAD_MISSINGNoNot documented yet.
TEXT_TOO_LONGNoNo TTS provider for this request can synthesize text of this length in one request. The text is over each provider limit, or it is too long to finish a delivery: "link" synthesis inside the request time limit. No provider was called and nothing was billed. What to do: Split the text into parts of at most maxChars characters, at sentence ends, and send each part as its own request. Sending the same text again returns the same error.
TOOL_CREDENTIALS_REQUIREDNoNot documented yet.
TRANSFER_FROM_REQUIREDNoNot documented yet.
USER_REQUIREDNoNot documented yet.
VALIDATION_ERRORNoThe request body or query failed schema validation. What to do: The issues array names the offending field and why. Fix the field rather than retrying.
VALIDATION_FAILEDNoNot documented yet.
VALIDATION_MISSING_FIELDNoNot documented yet.
VOICE_CLIP_UPLOAD_MISSINGNoNot documented yet.
VOICE_CLONE_MISSING_TRANSCRIPTNoNot documented yet.
VOICE_NOT_AVAILABLENoThe agent's ElevenLabs voice is not available to hosted agents: it is not in the ElevenLabs account calls use (Speko's account, or your own when your organization has an ElevenLabs provider key). What to do: Pick a voice from the voice picker or a Speko voice clone.
VOICE_PROVIDER_NOT_ALLOWEDNoThe voice belongs to a TTS provider that is not in the allowed TTS providers, so no allowed provider can speak it. What to do: Add a model from the voice's provider to allowedProviders.tts (the message names it), or choose a voice of the first allowed TTS provider. The first entry is the provider that speaks; when the voice's provider is listed later, calls use it automatically.
WORKSPACE_SELECTION_REQUIREDNoNot documented yet.

Rate limits and quota

CodeRetryMeaning
CAMPAIGN_BILLING_SUSPENDEDNoThe monthly fee for the workspace's own 10DLC campaign is unpaid, so sending is paused. What to do: Add credits. The fee is retried on the next billing sweep and sending resumes once it is paid; the campaign stays registered.
CONCURRENCY_CAPYesToo many sessions are already running for this workspace. What to do: Wait for one to end and retry. This one clears on its own.
CREDITS_NOT_REMOVEDYesNot documented yet.
DAILY_BUDGET_EXHAUSTEDNoThe workspace hit its configured daily spend cap. What to do: The cap resets on its own schedule; raise it in the console if this was not intended.
DESTINATION_REQUIRES_CARDNoThe workspace runs on free credit only, and the dialed country costs more per minute than free credit covers. What to do: Add a card or top up once in Billing, then dial again. Calls to other countries keep working on free credit.
INSUFFICIENT_CREDITSNoThe workspace has no remaining credit. What to do: Add credit in the console. Retrying will not help until it is topped up, so stop rather than loop.
NUMBER_RATE_LIMITEDYesNot documented yet.
PROVIDER_RATE_LIMITEDYesNot documented yet.
RATE_LIMITEDYesToo many requests in the window. What to do: Honour Retry-After when present, and back off exponentially. Do not retry in a tight loop.
SIP_GATEWAY_VERIFY_ATTEMPT_BUDGETYesNot documented yet.
SIP_GATEWAY_VERIFY_DID_BUDGETYesNot documented yet.
SIP_GATEWAY_VERIFY_GLOBAL_BUDGETYesNot documented yet.
SIP_GATEWAY_VERIFY_NUMBER_BUDGETYesNot documented yet.
SIP_GATEWAY_VERIFY_ORG_BUDGETYesNot documented yet.
SIP_GATEWAY_VERIFY_RATE_LIMITEDYesNot documented yet.
SOLE_PROPRIETOR_NUMBER_LIMITYesNot documented yet.
SOUND_LIMIT_REACHEDYesNot documented yet.
VOICE_CLIP_LIMIT_REACHEDYesNot documented yet.

Providers

CodeRetryMeaning
AI_CLASSIFICATION_FAILEDYesNot documented yet.
AI_UNAVAILABLEYesThe model provider behind this feature did not answer. What to do: Retry with backoff. A persistent failure on one provider is usually provisioning rather than an outage — speko doctor reports which providers this workspace can actually use.
ALL_PROVIDERS_FAILEDYesEvery candidate provider for a pipeline stage failed. What to do: Not a routing bug on its own: check whether the stage has any provider this workspace is provisioned for. Managed plans cover only some providers; the rest need your own key.
ASSIGNED_CAMPAIGN_UNAVAILABLEYesNot documented yet.
BILLING_UNAVAILABLEYesNot documented yet.
CALLER_NAME_REJECTEDNoThe carrier refused to list this caller name, or no longer has the number active. What to do: Try a different name. If it keeps failing, open a support ticket with the phone number id.
CALLER_NAME_UPDATE_FAILEDYesThe caller name could not be written to the carrier; nothing changed. What to do: Send the same request again shortly.
CALL_CREATE_FAILEDYesThe call could not be placed with the telephony provider. What to do: Read the session events (speko logs <id>) — failure_cause and sip_status say why, and a busy or unallocated number is not a retryable condition.
CAMPAIGN_FEE_UNAVAILABLEYesNot documented yet.
CHECKOUT_STATUS_UNAVAILABLEYesNot documented yet.
COMPLETE_FAILEDYesNot documented yet.
COPY_FAILEDYesNot documented yet.
CREATE_FAILEDYesNot documented yet.
DATABASE_FAILEDYesNot documented yet.
DIAL_FAILEDYesNot documented yet.
END_EVENT_FAILEDYesNot documented yet.
END_FAILEDYesNot documented yet.
GENERATION_FAILEDYesNot documented yet.
GENERATOR_UNAVAILABLEYesNot documented yet.
KEY_RESOLUTION_FAILEDYesNot documented yet.
LIVEKIT_TRUNK_SYNC_FAILEDYesNot documented yet.
MCP_DISCOVERY_FAILEDYesNot documented yet.
MCP_TOOL_UNAVAILABLEYesNot documented yet.
MESSAGE_SEND_FAILEDYesNot documented yet.
MESSAGE_SEND_TIMEOUTNoThe messaging provider did not answer within the request window. Whether the message went out is genuinely unknown — the provider may have accepted it and simply not replied in time. What to do: Do NOT blind-retry: the send API carries no idempotency key, so a retry can deliver the message twice. List the conversation first and resend only if nothing landed.
NO_ALLOWED_PROVIDERYesNot documented yet.
NO_CAPABLE_PROVIDERNoThe request asked for an option, named in param, that no provider left for this stage supports. What to do: Drop the option named in param, or remove the provider pin that rules out the providers supporting it. Sending the request again unchanged returns the same error.
NO_PROVIDER_AVAILABLENoThe request is well formed, but no provider can serve its combination of language, sample rate, model and pins. What to do: Change the request before retrying: the message names what ruled providers out (a sample rate, a pin, a language). Sending it again unchanged returns the same error.
NUMBER_BINDING_UNAVAILABLEYesNot documented yet.
ORIGINATE_FAILEDYesNot documented yet.
PHONE_NUMBER_IMPORT_FAILEDYesNot documented yet.
PHONE_NUMBER_PERSIST_FAILEDYesNot documented yet.
PHONE_NUMBER_PROVISIONING_FAILEDNoThe workspace's automatic phone-number purchase failed. The outcome is kept, so later calls return it again without a new purchase attempt. What to do: Buy a number on the Phone numbers page or with POST /v1/phone-numbers, then place the call again. Contact support if buying a number fails too.
PIPECAT_EVALUATION_CALLER_UNAVAILABLEYesNot documented yet.
PIPECAT_UNAVAILABLEYesNot documented yet.
POSTHOG_FEATURE_ACCESS_UPDATE_FAILEDYesNot documented yet.
PRE_CALL_FAILEDYesNot documented yet.
PRE_CALL_WEBHOOK_FAILEDYesNot documented yet.
PROVIDER_REQUEST_FAILEDYesNot documented yet.
PROVIDER_REQUEST_REJECTEDYesNot documented yet.
PROVIDER_TIMEOUTYesNot documented yet.
RUNTIME_ACK_FAILEDYesNot documented yet.
RUNTIME_ACK_UNAVAILABLEYesNot documented yet.
S2S_CONNECT_FAILEDYesNot documented yet.
S2S_PROVIDER_DIRECT_UNAVAILABLEYesNot documented yet.
S2S_PROVIDER_DISCONNECTYesNot documented yet.
S2S_PROVIDER_UNAVAILABLEYesNot documented yet.
S2S_SESSION_PLAN_UNAVAILABLEYesNot documented yet.
S2S_VOICE_UNAVAILABLEYesNot documented yet.
S2S_WORKER_UNAVAILABLEYesNot documented yet.
SEED_FAILEDYesNot documented yet.
SESSION_CREATE_FAILEDYesNot documented yet.
SHARED_CAMPAIGN_UNAVAILABLEYesNot documented yet.
SIGNED_URL_FAILEDYesNot documented yet.
SIP_GATEWAY_PROVISIONING_FAILEDYesNot documented yet.
SIP_GATEWAY_SYNC_UNAVAILABLEYesNot documented yet.
SIP_GATEWAY_VERIFY_CALL_FAILEDYesNot documented yet.
SMS_10DLC_FEATURE_DISABLE_FAILEDYesNot documented yet.
SMS_10DLC_FEATURE_ENABLE_FAILEDYesNot documented yet.
SOUND_STORAGE_DELETE_FAILEDYesNot documented yet.
STREAM_UNAVAILABLEYesNot documented yet.
STRIPE_REFUND_FAILEDYesNot documented yet.
SYNC_FAILEDYesNot documented yet.
SYNTHESIZE_FAILEDYesNot documented yet.
TEARDOWN_FAILEDYesNot documented yet.
TELNYX_ORDER_FAILEDYesNot documented yet.
TELNYX_OUTCOME_UNKNOWNYesNot documented yet.
TOOL_SECRETS_UNAVAILABLEYesNot documented yet.
TRANSCRIBE_FAILEDYesNot documented yet.
TURNSTILE_FAILEDYesNot documented yet.
TWILIO_REQUEST_FAILEDYesNot documented yet.
TWILIO_TEARDOWN_FAILEDYesNot documented yet.
UNAVAILABLEYesA dependency needed to serve the request is not answering. What to do: Transient in most cases. Retry with backoff; if it persists, run speko doctor.
UPSTREAM_ERRORYesNot documented yet.
UPSTREAM_FETCH_FAILEDYesNot documented yet.
VOICE_CLONE_PROVIDER_UNSUPPORTEDYesNot documented yet.
VOICE_CLONE_PROVISION_FAILEDYesNot documented yet.
WARM_TRANSFER_BRIDGE_FAILEDYesNot documented yet.
WARM_TRANSFER_FAILEDYesNot documented yet.

State conflicts

CodeRetryMeaning
AGENT_ALREADY_LINKEDNoNot documented yet.
AGENT_HAS_PHONE_NUMBERSNoThe agent still has numbers attached, so it cannot be deleted. What to do: Detach or reassign its phone numbers first.
ALREADY_CLOSEDNoNot documented yet.
ALREADY_EMAILEDNoNot documented yet.
BRAND_ALREADY_VERIFIEDNoNot documented yet.
BRAND_NOT_READYNoNot documented yet.
CALLBACKS_DISABLEDNoNot documented yet.
CALLER_ID_VERIFICATION_PENDINGNoNot documented yet.
CALLER_NAME_UPDATE_IN_PROGRESSYesAnother change to this number's caller name is being applied. What to do: Retry in a few seconds.
CALL_ALREADY_DIALINGYesA call from this workspace to this number is already being placed. What to do: Wait at least retryAfterSeconds before retrying. Check whether the first request completed before placing another call.
CALL_NOT_LIVENoThe operation needs a call that is still in progress, and this one has ended. What to do: Check ended_at before acting on a call. A finished call cannot be transferred or commanded.
CAMPAIGN_ALREADY_SUBMITTEDNoNot documented yet.
CAMPAIGN_NOT_READYNoNot documented yet.
CONFLICTNoThe resource is not in a state that allows this operation.
DAILY_DISABLEDNoNot documented yet.
DEMO_CUSTOM_DISABLEDNoNot documented yet.
DEMO_DISABLEDNoNot documented yet.
DEMO_PHONE_DISABLEDNoNot documented yet.
DUPLICATE_IN_PROGRESSNoNot documented yet.
IDEMPOTENCY_CONFLICTNoWith 409, the SMS idempotency key was already used for a different request. With 422, the key is missing or longer than 128 characters. What to do: On 409, send the original request again with this key, or use a new key for a new message. On 422, send an Idempotency-Key of 1 to 128 characters.
IMESSAGE_OPERATION_IN_PROGRESSNoNot documented yet.
MESSAGING_PROFILE_NOT_READYNoNot documented yet.
NUMBER_ALREADY_EXISTSNoNot documented yet.
OWN_CAMPAIGN_NOT_READYNoNot documented yet.
PHONE_NUMBER_PROVISIONING_IN_PROGRESSNoNot documented yet.
PHONE_NUMBER_PROVISIONING_PENDINGNoNot documented yet.
RECORDING_DISABLEDNoNot documented yet.
REPORTS_DISABLEDNoNot documented yet.
REQUEST_CANCELLEDYesThe request was cancelled before the call was placed. No call was made. What to do: Send a new request if you still want to place the call, and keep the connection open until it completes.
ROOMS_DISABLEDNoNot documented yet.
SESSION_ALREADY_ACTIVENoNot documented yet.
SETTLEMENT_CONFLICTNoNot documented yet.
SHARED_CAMPAIGN_NOT_READYNoNot documented yet.
SIP_GATEWAY_MAX_PENDING_NUMBERSNoNot documented yet.
SIP_GATEWAY_NUMBER_ALREADY_PENDINGNoNot documented yet.
SIP_GATEWAY_PENDING_NUMBER_CLOSEDNoNot documented yet.
SIP_GATEWAY_PROVISIONING_IN_PROGRESSNoNot documented yet.
SMS_10DLC_BRAND_NOT_READYNoNot documented yet.
SMS_10DLC_CAMPAIGN_NOT_READYNoNot documented yet.
SMS_10DLC_OPERATION_IN_PROGRESSNoNot documented yet.
SMS_10DLC_SELF_SERVICE_CONFLICTNoNot documented yet.
SMS_SENDING_NOT_APPROVEDNoThe workspace has no phone number on an approved 10DLC campaign, so it cannot send SMS or change sending settings. Receiving and reading SMS still work. What to do: Register the business (or a sole proprietor) in the dashboard under Settings > SMS compliance and assign a number to the approved campaign. organization.get reports features.smsSending once it is on.
SOUNDS_DISABLEDNoNot documented yet.
SOUND_NOT_READYNoNot documented yet.
TOOL_NAME_CONFLICTNoNot documented yet.
TRANSFER_DISABLEDNoNot documented yet.
TWILIO_OPERATION_IN_PROGRESSNoNot documented yet.
VERSION_CONFLICTNoNot documented yet.
VOICE_CLIPS_DISABLEDNoNot documented yet.
VOICE_CLONE_ALREADY_PROVISIONEDNoNot documented yet.
WEB_JOIN_DISABLEDNoNot documented yet.
WORKFLOW_CONFLICTNoNot documented yet.

Other

CodeRetryMeaning
ACTION_INTERNAL_ERRORNoNot documented yet.
ACTION_SECRET_NOT_CONFIGUREDNoNot documented yet.
ADMIN_MANAGED_10DLCNoNot documented yet.
AGENT_NOT_PUBLISHEDNoNot documented yet.
AGENT_S2S_PIN_NOT_PHONE_HOSTABLENoNot documented yet.
AMBIGUOUS_ORGANIZATIONNoNot documented yet.
AMOUNT_ROUNDS_TO_ZERONoNot documented yet.
AMOUNT_TOO_HIGHNoNot documented yet.
APP_KEY_MISMATCHNoNot documented yet.
BLOCKEDNoNot documented yet.
BRAND_KIND_LOCKEDNoNot documented yet.
CAMPAIGN_BILLING_NOT_RESUMABLENoNot documented yet.
CAMPAIGN_FIELDS_NOT_UPDATABLENoNot documented yet.
CAMPAIGN_QUOTE_CHANGEDNoNot documented yet.
COUNTRY_NOT_ALLOWEDNoNot documented yet.
CURSOR_EXPIREDNoNot documented yet.
DEMO_MISCONFIGUREDNoNot documented yet.
DISPUTEDNoNot documented yet.
EXPORT_BUSYNoNot documented yet.
IDEMPOTENCY_KEY_REUSEDNoNot documented yet.
ID_MISMATCHNoNot documented yet.
IMESSAGE_NOT_ENABLEDNoNot documented yet.
INCOMPATIBLE_RUNTIME_MODENoNot documented yet.
INSUFFICIENT_BALANCENoNot documented yet.
INSUFFICIENT_SCOPENoNot documented yet.
INTEGRATION_DISCONNECTEDNoNot documented yet.
INTEGRATION_MANAGED_CONNECTIONNoNot documented yet.
INTEGRATION_NOT_CONFIG_EDITABLENoNot documented yet.
INTERNALNoNot documented yet.
IP_UNKNOWNNoNot documented yet.
LAST_AGENTNoNot documented yet.
MCP_SCHEMA_DRIFTNoNot documented yet.
MESSAGES_UNSUPPORTEDNoNot documented yet.
MESSAGE_NOT_CANCELABLENoNot documented yet.
NOT_CONFIGUREDNoNot documented yet.
NOT_ENABLED_FOR_ORGANIZATIONNoNot documented yet.
NOT_NATIVENoNot documented yet.
NOT_REFUNDABLENoNot documented yet.
NOT_SOLE_PROPRIETORNoNot documented yet.
NOT_STAFFNoNot documented yet.
NOT_WARM_TRANSFERNoNot documented yet.
NO_AGENTNoNot documented yet.
NO_BENCHMARK_DATANoNot documented yet.
NO_ELIGIBLE_CAMPAIGNNoNot documented yet.
NO_FLOWNoNot documented yet.
NO_HEALTHY_CANDIDATESNoNot documented yet.
NO_MATCHNoNot documented yet.
NO_ROOMNoNot documented yet.
OBSOLETE_WORKFLOW_NODENoNot documented yet.
ORGANIZATION_CLOSEDNoNot documented yet.
ORIGIN_NOT_ALLOWEDNoNot documented yet.
PHONE_NOT_SMS_READYNoNot documented yet.
PHONE_NUMBER_KYB_ACCESS_SUSPENDEDNoNot documented yet.
PHONE_NUMBER_SUSPENDEDNoNot documented yet.
PIPECAT_CALL_OVERRIDE_UNSUPPORTEDNoNot documented yet.
PIPELINE_CONFIG_TOO_LARGENoNot documented yet.
POSTHOG_FEATURE_ACCESS_NOT_CONFIGUREDNoNot documented yet.
PRE_CALL_WEBHOOK_AMBIGUOUSNoNot documented yet.
RECIPIENT_SUPPRESSEDNoNot documented yet.
RECORDING_NOT_AVAILABLENoNot documented yet.
RUNTIME_CONTROLLED_BY_ORGANIZATIONNoNot documented yet.
S2S_BACKPRESSURENoNot documented yet.
S2S_EVALUATION_UNSUPPORTEDNoNot documented yet.
S2S_MODEL_NOT_ALLOWEDNoNot documented yet.
S2S_PIN_NOT_PHONE_HOSTABLENoNot documented yet.
S2S_SAMPLE_RATE_UNSUPPORTEDNoNot documented yet.
S2S_VOICE_UNSUPPORTEDNoNot documented yet.
SAME_AGENTNoNot documented yet.
SESSION_CLOSEDNoNot documented yet.
SESSION_ENDEDNoNot documented yet.
SESSION_EXPIREDNoNot documented yet.
SHARED_CAMPAIGN_CUSTOMER_BRANDNoNot documented yet.
SIP_CONNECTION_NOT_APPLICABLENoNot documented yet.
SIP_DIRECTION_NOT_ALLOWEDNoNot documented yet.
SIP_GATEWAY_ADMIN_NOT_CONFIGUREDNoNot documented yet.
SIP_GATEWAY_CAPACITY_REACHEDNoNot documented yet.
SIP_GATEWAY_CIDR_OVERLAPNoNot documented yet.
SIP_GATEWAY_CREDENTIAL_EXISTSNoNot documented yet.
SIP_GATEWAY_CREDENTIAL_IP_MODENoNot documented yet.
SIP_GATEWAY_EGRESS_DESTINATION_UNSUPPORTEDNoNot documented yet.
SIP_GATEWAY_EGRESS_NOT_CONFIGUREDNoNot documented yet.
SIP_GATEWAY_INGRESS_MANAGEDNoNot documented yet.
SIP_GATEWAY_MAX_NUMBERSNoNot documented yet.
SIP_GATEWAY_NEEDS_REPAIRNoNot documented yet.
SIP_GATEWAY_NOT_CONFIGUREDNoNot documented yet.
SIP_GATEWAY_NUMBERS_CHANGEDNoNot documented yet.
SIP_GATEWAY_NUMBER_RESERVEDNoNot documented yet.
SIP_GATEWAY_NUMBER_UNVERIFIABLENoNot documented yet.
SIP_GATEWAY_ORGANIZATION_CLOSEDNoNot documented yet.
SIP_GATEWAY_PBX_HOST_TAKENNoNot documented yet.
SIP_GATEWAY_RESERVATION_EXPIREDNoNot documented yet.
SIP_GATEWAY_RESERVATION_LOSTNoNot documented yet.
SIP_GATEWAY_RUNTIME_UNSUPPORTEDNoNot documented yet.
SIP_GATEWAY_SYNC_NOT_CONFIGUREDNoNot documented yet.
SIP_GATEWAY_VERIFY_NOT_CONFIGUREDNoNot documented yet.
SIP_HOST_NOT_CONFIGUREDNoNot documented yet.
SLUG_MISMATCHNoNot documented yet.
SMS_10DLC_ASSET_IN_USENoNot documented yet.
SMS_10DLC_BRAND_IN_USENoNot documented yet.
SMS_10DLC_CAMPAIGN_IN_USENoNot documented yet.
SMS_ASSIGNMENT_UNSUPPORTED_NUMBERNoNot documented yet.
SMS_DESTINATION_NOT_SUPPORTEDNoNot documented yet.
SMS_THREAD_AGENT_CHANGEDNoNot documented yet.
SOUND_IN_USENoNot documented yet.
SOUND_NAME_TAKENNoNot documented yet.
SOURCE_NOT_COPYABLENoNot documented yet.
STALE_REFUND_PREVIEWNoNot documented yet.
STRIPE_NOT_CONFIGUREDNoNot documented yet.
SUSPENDEDNoNot documented yet.
TOOL_NOT_PINNEDNoNot documented yet.
TOOL_NOT_SERVER_EXECUTABLENoNot documented yet.
TOOL_SCHEMA_DRIFTNoNot documented yet.
TRANSFER_FROM_GATEWAY_NUMBERNoNot documented yet.
TRANSFER_NOT_ACTIVENoNot documented yet.
TWILIO_NOT_MANAGEDNoNot documented yet.
TWILIO_NUMBER_ON_OTHER_TRUNKNoNot documented yet.
UNKNOWN_PERSONANoNot documented yet.
UNKNOWN_TYPENoNot documented yet.
UNKNOWN_USE_CASENoNot documented yet.
UNSUPPORTED_BACKENDNoNot documented yet.
UNSUPPORTED_PIPECAT_LANGUAGENoNot documented yet.
USE_INTEGRATION_ATTACHNoNot documented yet.
VETTING_NOT_AVAILABLENoNot documented yet.
VOICE_CLONE_NAME_TAKENNoNot documented yet.
VOICE_CLONE_NO_READY_CLIPSNoNot documented yet.
VOICE_CLONE_PROVISION_REMOVEDNoNot documented yet.
VOICE_NOT_ALLOWEDNoNot documented yet.
WEBHOOKS_NOT_DRAFTABLENoNot documented yet.
WEBHOOK_SIGNATURE_NOT_CONFIGUREDNoNot documented yet.
WEBHOOK_TAGS_REQUIRE_AGENTNoNot documented yet.
WHATSAPP_AGENT_NOT_CONFIGUREDNoNot documented yet.
WORKSPACE_SELECTION_CHANGEDNoNot documented yet.
WRONG_DIRECTIONNoNot documented yet.
unknown_objectiveNoNot documented yet.

On this page