The Twilio connector can return errors when input validation fails, authentication is unsuccessful, a connection to Twilio cannot be established, or Twilio rejects the request. These errors can be handled within a process to support exception handling, troubleshooting, and recovery workflows.
Some errors originate from the connector itself, while others correspond to responses returned by Twilio or related services.
Some errors originate from the connector itself, while others correspond to responses returned by Twilio or related services.
| Error | Description |
|---|---|
| MISSING_INPUT | A required input parameter was not provided. Verify that all mandatory connector inputs are mapped and contain values. |
| INVALID_INPUT | An input parameter contains an invalid value or unsupported data type. Verify that the input matches the format expected by the connector action. |
| TWILIO_CONNECTION_ERROR | The connector could not establish a connection to the Twilio service. Verify network connectivity and Twilio account configuration. |
| AUTHENTICATION_CONNECTION_ERROR | Authentication with Twilio failed. Verify the account SID, authentication token, and connector configuration. |
| INVALID_REQUEST_ERROR | Twilio rejected the request because it was invalid or incomplete. Review the request parameters and message configuration. |
| INVALID_TO_PHONE_NUMBER_ERROR | The recipient phone number is invalid or unsupported. Verify the destination phone number format. |
| INVALID_FROM_PHONE_NUMBER_ERROR | The sending phone number is invalid or unavailable. Verify the configured Twilio phone number. |
| PERMISSION_DENIED_ERROR | The configured Twilio account does not have permission to perform the requested operation. |
| INVALID_REGION_TO_PHONE_NUMBER_ERROR | SMS messaging is not enabled for the destination region associated with the recipient phone number. |
| TEMPLATE_READ_ERROR | The connector could not read the configured FreeMarker template. Verify the template configuration and content. |
| TEMPLATE_METADATA_ERROR | The template references metadata that does not exist or is unavailable during execution. |
| TEMPLATE_SYNTAX_ERROR | The FreeMarker template contains invalid syntax. Review the template for formatting or expression errors. |
| UNKNOWN_ERROR | An unexpected error occurred during connector execution. Review connector configuration and Twilio connectivity for possible causes. |
| BAD_REQUEST | The request could not be processed because the request syntax or content was invalid. |
| UNAUTHORIZED | Authentication information is missing or invalid. Verify Twilio account credentials. |
| FORBIDDEN | The request was understood, but the operation is not permitted for the configured account or resource. |
| NOT_FOUND | The requested resource could not be found. |
| METHOD_NOT_ALLOWED | The requested operation is not supported for the targeted resource. |
| NOT_ACCEPTABLE | The service cannot produce a response that matches the request requirements. |
| REQUEST_TIMEOUT | The request was not completed within the allowed time period. |
| CONFLICT | The request conflicts with the current state of the resource. |
| GONE | The requested resource is no longer available. |
| UNPROCESSABLE_ENTITY | The request was syntactically valid, but the service could not process the supplied values or instructions. |
| LOCKED | The requested resource is currently locked. |
| FAILED_DEPENDENCY | The operation failed because a dependent request or resource failed. |
| INTERNAL_SERVER_ERROR | The service encountered an unexpected condition that prevented it from fulfilling the request. |
| NOT_IMPLEMENTED | The requested functionality is not supported by the service. |
| BAD_GATEWAY | An upstream service returned an invalid response. |
| SERVICE_UNAVAILABLE | The service is temporarily unavailable or unable to process requests. |
| GATEWAY_TIMEOUT | The service did not receive a response from an upstream system within the expected time period. |