The possible errors that can be handled by the Twilio connector are:
Error | Description |
---|---|
MISSING_INPUT | A mandatory input variable was not provided. |
INVALID_INPUT | The input variable has an invalid type. |
TWILIO_CONNECTION_ERROR | Unable to connect to Twilio service. |
AUTHENTICATION_CONNECTION_ERROR | Unable to authenticate to Twilio. |
INVALID_REQUEST_ERROR | Invalid request. |
INVALID_TO_PHONE_NUMBER_ERROR | Invalid ‘to’ phone number. |
INVALID_FROM_PHONE_NUMBER_ERROR | Invalid ‘from’ phone number. |
PERMISSION_DENIED_ERROR | Lack of permission to the resource and method requested. |
INVALID_REGION_TO_PHONE_NUMBER_ERROR | Permission to send an SMS has not been enabled for the region indicated by the ‘To’ number. |
TEMPLATE_READ_ERROR | Cannot read the FreeMarker template. |
TEMPLATE_METADATA_ERROR | The template references non-existing metadata. |
TEMPLATE_SYNTAX_ERROR | Invalid FreeMarker syntax. |
UNKNOWN_ERROR | Unexpected runtime error. |
BAD_REQUEST | The server could not understand the request due to invalid syntax. |
UNAUTHORIZED | The request has not been applied because it lacks valid authentication. |
FORBIDDEN | The server understood the request but refuses to authorize it. |
NOT_FOUND | The server could not find what was requested. |
METHOD_NOT_ALLOWED | The request method is known by the server but is not supported. |
NOT_ACCEPTABLE | The server cannot produce a response matching the list of acceptable values. |
REQUEST_TIMEOUT | The server would like to shut down this unused connection. |
CONFLICT | The request conflicts with current state of the server. |
GONE | No longer available. |
UNPROCESSABLE_ENTITY | The server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions. |
LOCKED | The resource that is being accessed is locked. |
FAILED_DEPENDENCY | The request failed due to failure of a previous request. |
INTERNAL_SERVER_ERROR | The server has encountered a situation it doesn’t know how to handle. |
NOT_IMPLEMENTED | The request method is not supported by the server and cannot be handled. |
BAD_GATEWAY | The server got an invalid response. |
SERVICE_UNAVAILABLE | The server is not ready to handle the request. |
GATEWAY_TIMEOUT | The server is acting as a gateway and cannot get a response in time. |