Error Codes
Error Codes
The following are the possible values for the error_code field in the API response body:
General
- ok
- general_error
- bad_message
- temporary_error
- internal_error
- unknown
- upstream_error
- recipient_error
- recipient_deliver_error
- recipient_system_error
Host errors
These errors are related to the Swift system.
- host_did_not_found
- host_did_inactive
- host_did_no_sms_provider
- host_did_sms_disabled
- host_did_sms_unavailable
- host_did_sms_pending
- host_did_mms_disabled
- host_did_mms_unavailable
- host_did_mms_pending
- host_switch_not_found
- host_switch_api_key_not_found
- host_switch_sms_disabled
- host_switch_mms_disabled
- host_switch_no_sms_protocol
- host_subscription_inactive
- host_subscription_rejected
- host_subscription_blocked
Remote errors
These errors are related to remote numbers and providers.
- remote_did_not_found
- remote_did_inactive
- remote_did_no_sms_provider
- remote_did_sms_disabled
- remote_did_sms_unavailable
- remote_did_sms_pending
- remote_did_mms_disabled
- remote_did_mms_unavailable
- remote_did_mms_pending
- remote_switch_not_found
- remote_switch_api_key_not_found
- remote_switch_sms_disabled
- remote_switch_mms_disabled
- remote_switch_no_sms_protocol
Miscellaneous
- expired
- rejected
- unsupported_format
- time_restricted
- forward_request_not_found
- request_ownership_changed
- too_many_dispatches
- response_error