Programmable Voice API Error Handling
Response Code Grouping
EnableX Voice API service uses standard HTTP response codes to indicate whether a method completed successfully. These response codes provide a description of problems that may have occurred with an API call, which can help you in troubleshooting the problems.
The response codes are grouped into the following categories:
Code | Category | Description |
---|---|---|
1xx | Information | Request received and processed. |
2xx | Success | Request received and accepted. |
3xx | Redirection | Action required to complete request. |
4xx | Client Error | Illegible request syntax. The request cannot be fulfilled. |
5xx | Server Error | Server failed to complete a legitimate Request. |
Error Codes
The response codes are described below.
HTTP Error Code | Description |
---|---|
6101 | The Voice service is not subscribed. |
6110 | The application is not found. |
6111 | The call is not established. |
6112 | The call is in the bridged mode and cannot play the media. |
6113 | An error has occurred while creating a bridge. |
6114 | Failed to add the channel to the bridge. |
6115 | Failed to the play voice menu on the bridge. |
6116 | External media request has failed. |
6117 | Text-to-speech conversion is not supported for the Voice service. |
6118 | The phone number is not found for the service. |
6119 | Failed to start recording on the bridge. |
6120 | An error occurred while converting text to speech. |
6121 | Request for converting text to speech has failed. |
6122 | The play request is pending. |
6123 | Failed playing text-to-speech on the media channel. |
6124 | An invalid parameter is specified for the outbound call. |
6125 | Request for text-to-speech has failed. |
6126 | Request for text-to-speech has failed. |
6127 | Request for text-to-speech has failed. |
6128 | The text-to-speech request is longer than the allowed limit of 1024 characters. |
6129 | The number of text-to-speech requests has exceeded the quota or rate of requests allowed for your subscription. |
6130 | A network or server-side issue has occurred. |
6131 | An invalid parameter is specified for the outbound call. |
6132 | An error occurred while answering an incoming call. |
6133 | The inbound number is not associated with any service. |
6134 | Unable to connect to the Voice server. |
6135 | An invalid parameter has been specified for the recording request. |
6136 | The specified recording format is not supported on the system. |
6137 | This recording file name exists in the system. |
6138 | Resource for recording is not found. |
6139 | Not able to stop the recording. |
6140 | Error occurred while fetching the recording file. |
6141 | The SIP gateway service is unavailable. |
6142 | Checking of the Wallet balance failed. |
6143 | The speech was not recognized. |
6144 | Speech recognition is cancelled by the user. |
6145 | Speech recognition is cancelled due to the end of the stream. |
6146 | Speech Recognition is cancelled due to an error. |
400 | Bad request. |
401 | The Basic Authorization header is not found. |
404 | The resource is not found. Details of the resource will be added in the JSON body. |
405 | This method is not allowed. |
407 | The authorization token is either wrong or not found. |
500 | An internal server error has occurred. |
511 | Additional authentication is required. |