Error reference
Failures return request_id and an error object with legacy code, five-digit numeric_code, and message. Branch on code or numeric_code, never message; numeric_code can refine Provider causes without changing the original HTTP status or legacy code.
400 Bad Request
invalid_request10000Request body cannot be decoded or required fields are missing.
invalid_provider30000Provider name in the URL is missing or unsupported.
unsupported_action30005Account action is not recognised.
invalid_conversation_type37000type must be user, group, or channel.
unsupported_conversation_type37001Provider does not support that operation for this conversation type.
unsupported_message_type36000message.type is not supported by the selected provider.
unsupported_provider_auth_mode20018auth_mode is not supported by the selected provider.
auth_mode_phone_required20019The selected auth mode requires provider_data.phone at account creation.
invalid_reply_token36006reply_to.reply_token is tampered with, encrypted with a different key, or otherwise unreadable. Pass the token from data.message.reply_token back unchanged.
provider_invalid_request30001The provider adapter rejected provider-specific request data as invalid.
create_api_key_failed11101API key creation request was rejected.
update_api_key_failed11102API key update request was rejected.
rotate_api_key_failed11103API key rotation request was rejected.
update_workspace_failed41001Workspace update was rejected.
401 Unauthorized
missing_api_key11000The X-Api-Key request header is missing.
invalid_api_key11001The API key is not recognised or has been disabled.
403 Forbidden
cors_forbidden11009The CORS preflight origin, method, or requested headers are not allowed.
404 Not Found
not_found10001The route does not exist.
conversation_not_found37002The conversation could not be found by the provider.
contact_not_found35000The contact could not be found under this account.
group_not_found34004The group could not be found under this account.
409 Conflict
account_allocation_busy20011Account allocation lock is held; retry after a short delay.
no_allocatable_server20013No allocatable provider server in the requested region.
workspace_account_quota_exceeded20014The workspace account quota has been exhausted.
duplicate_provider_account20015Another account in this workspace already uses the same provider identity.
account_already_authorized20016The account is already authorised; the requested auth action is rejected.
account_binding_not_found30006The account is not bound to an active provider server.
provider_account_mismatch20017The requested provider identity does not match the account binding.
provider_not_ready30009The provider runtime is not ready for this operation yet.
422 Unprocessable Entity
contact_not_found35000GET /contacts/info returns Conversation not found when the target conversation does not exist.
500 Internal Server Error
create_account_failed20002Server-side error while creating the account.
update_account_failed20003Server-side error while updating the account.
delete_account_failed20004Server-side error while deleting the account.
get_account_failed20001Server-side error while loading account details.
list_accounts_failed20000Server-side error while listing accounts.
get_session_failed20005Server-side error while loading the authentication session.
get_auth_state_failed20006Server-side error while loading authentication state.
run_action_failed20007Server-side error while running an account action.
run_runtime_action_failed20008Server-side error while running a runtime action.
run_session_action_failed20009Server-side error while running a session action.
run_auth_action_failed20010Server-side error while running an authentication action.
send_message_failed36001Server-side error while sending the message.
pin_message_failed36002Server-side or upstream error while pinning / unpinning the message.
revoke_message_failed36003Server-side or upstream error while revoking the message.
react_message_failed36004Server-side or upstream error while reacting to the message.
edit_message_failed36005Server-side or upstream error while editing the message text.
list_conversations_failed37003Server-side error while listing conversations.
get_conversation_failed37004Server-side error while loading the conversation.
list_conversation_members_failed37005Server-side error while listing conversation members.
mark_conversation_read_failed37006Server-side or upstream error while marking the conversation as read.
mark_conversation_unread_failed37007Server-side or upstream error while marking the conversation as unread.
mute_conversation_failed37008Server-side or upstream error while muting the conversation.
unmute_conversation_failed37009Server-side or upstream error while unmuting the conversation.
pin_conversation_failed37010Server-side or upstream error while pinning the conversation.
unpin_conversation_failed37011Server-side or upstream error while unpinning the conversation.
list_conversation_labels_failed37012Server-side or upstream error while listing conversation labels.
upsert_label_failed37013Server-side or upstream error while creating or updating a label.
delete_label_failed37014Server-side or upstream error while deleting a label.
set_label_members_failed37015Server-side or upstream error while tagging or untagging conversations.
list_contacts_failed35001Server-side error while listing contacts.
get_contact_failed35002Server-side error while loading the contact.
create_contact_failed35003Server-side or channel error while adding the contact.
get_contact_membership_failed35004Server-side or channel error while checking contact membership.
block_contact_failed35005Server-side or upstream error while blocking the contact.
unblock_contact_failed35006Server-side or upstream error while unblocking the contact.
list_blocklist_failed35007Server-side or upstream error while loading the blocklist.
set_contact_note_failed35008Server-side or upstream error while setting or clearing the contact note.
list_groups_failed34000Server-side error while listing groups.
get_group_failed34001Server-side error while loading the group.
create_group_failed34002Server-side or upstream error while creating the group.
leave_group_failed34003Server-side or upstream error while leaving the group.
update_group_members_failed34005Server-side or upstream error while updating group members.
update_group_info_failed34006Server-side or upstream error while updating the group name, description, or avatar (including admin-permission rejections).
list_group_join_requests_failed34007Server-side or upstream error while listing pending group join requests.
update_group_join_requests_failed34008Server-side or upstream error while approving / rejecting group join requests.
set_group_join_approval_mode_failed34009Server-side or upstream error while toggling the group join approval mode.
get_group_invite_code_failed34010Server-side or upstream error while fetching the group invite link / code.
list_webhook_endpoints_failed40000Server-side error while listing webhook endpoints.
create_webhook_endpoint_failed40001Server-side error while creating the webhook endpoint.
get_webhook_endpoint_failed40002Server-side error while loading the webhook endpoint.
update_webhook_endpoint_failed40003Server-side error while updating the webhook endpoint.
deactivate_webhook_endpoint_failed40004Server-side error while deactivating the webhook endpoint.
delete_webhook_endpoint_failed40005Server-side error while deleting the webhook endpoint.
get_workspace_failed41000Server-side error while loading the workspace.
list_api_keys_failed11100Server-side error while listing API keys.
list_provider_regions_failed30011Server-side error while listing provider regions.
501 Not Implemented
unsupported_by_provider30003The selected provider has not implemented this endpoint.
502 Bad Gateway
provider_adapter_not_found30004The provider adapter is unavailable or not registered.
provider_unavailable30002The provider or its upstream service is temporarily unavailable.
503 Service Unavailable
allocation_service_unavailable20012The allocation lock service is unavailable; retry shortly.
Provider detail numeric codes
These codes refine a Provider cause without changing the original HTTP status or legacy code.
provider_operation_failed30010Provider operation failed
Generic provider operation failure.
group_not_found34004Group not found
The group cannot be found; legacy provider paths may retain their original HTTP status and code.
group_not_participant34011Account is not participating in this group
The group may exist, but the current account is not a participant.