The majority of Programmable Voice error codes are five-digit integers starting at the 31000 range.
To get details on an error code, possible cause, and solutions, please visit the full Error and Warning Dictionary.
The JavaScript SDK, when applicable, will emit errors that contain a twilioError
field.
This twilioError
is the new TwilioError
format that is now the default Error format in the new 2.0 version of the SDK. Please see the JavaScript SDK 2.0 Migration Guide for more information on this change.
Code | Description |
---|---|
31000 | General Twilio Voice SDK error. More information may be available in the debugger. The twilioError field (JavaScript SDK only) may contain more information. |
31001 | TwiML Application not found. |
31002 | Connection declined. Check the debugger for more information on the actual cause. |
31003 | Connection timeout. |
31005 | WebSocket connection to Twilio's signaling servers were unexpectedly ended. If this is happening consistently, there may be an issue resolving the hostname provided. If a region is being specified in Device setup, ensure it's a valid region. |
31009 | No transport available to send or receive messages. |
Code | Description |
---|---|
31100 | Generic malformed request. |
31101 | Missing parameter array in request. |
31102 | Authorization token missing in request. |
31103 | Length of parameters cannot exceed MAX_PARAM_LENGTH. |
31104 | Invalid bridge token. |
31105 | Invalid client name/identity. Note, the client/device name/identity provided in the AccessToken may only contain alpha-numeric and underscore characters. Other characters, including spaces, will result in undefined behavior. The maximum number of characters for the identity is 256. |
Code | Description |
---|---|
53405 | Media connection failed/Media activity ceased: The ICE connection failed |
53000 | Signaling connection error: The websocket timed out in preflight |