Voice API Error codes

Our Voice API may return error codes to indicate specific issues encountered during API requests. These error codes help developers quickly identify and troubleshoot problems. Below is a comprehensive list of potential error codes and their descriptions:

Error CodeCodeHTTP StatusDescription
NO_ERROR0200No Error.
ERROR_SYSTEM_FAILURE1500System Failure.
ERROR_METHOD_NOT_ALLOWED2405Method Not Allowed.
ERROR_NOT_FOUND3404Not Found.
ERROR_DB_FAILURE4500Database Failure.
ERROR_DB_RECOVERING5500Database Recovering.
ERROR_DB_RECOVERED_FAIL6500Database Recovered Failed.
ERROR_QUEUE_FAILURE8500Queue Failure.
ERROR_QUEUE_RECOVERING7500Queue Recovering.
ERROR_QUEUE_RECOVERED_FAIL9500Queue Recovered Failed.
ERROR_CACHE_FAILURE10500Cache Failure.
ERROR_CACHE_RECOVERING11500Cache Recovering.
ERROR_CACHE_RECOVERED_FAIL12500Cache Recovered Failed.
ERROR_CONNECTION_TIMEOUT13500Connection Timeout.
ERROR_CONNECTION_REFUSED14500Connection Refused.
ERROR_CONNECTION_FAILURE15500Connection Failure.
ERROR_JSON_MARSHAL50500JSON Marshal failed.
ERROR_JSON_UNMARSHAL51500JSON Unmarshal failed.
ERROR_GIN_VARIABLE_NOT_FOUND52500GIN variable not found.
ERROR_QUERY_STRING53500Querystring values failed.
ERROR_MAKE_REQUEST54500Cannot make request for request to client.
ERROR_IO_BODY55500Cannot read response from client.
ERROR_FORM56400Form is invalid.
ERROR_CONTEXT_VARIABLE57500Systen Failure.
ERROR_AUTHENTICATION_FAILED100401Authentication failed.
ERROR_MEMBER101401Member failure.
ERROR_BALANCE_EXPIRE102400Balance expired.
ERROR_FORM_TEXT103400The text value is requied or value in the form is invalid.
ERROR_FORM_LANGUAGE104400The language value is required or value in the form is invalid.
ERROR_FORM_REPETITION105400The repetition value is required and value in the form accepted values are 1, 2 or 3.
ERROR_FORM_SPEED106400The speed value is required and value in the form accepted range from 0.5 - 2 as a two digit number.
ERROR_FORM_DESTINATIONS107400The destination is required or The destination is invalid.
ERROR_FORM_CALLER_ID108400The caller_id is required or The caller_id in the form is invalid.
ERROR_INSUFFICIENT_BALANCE109400The remaining balance is insufficient.
ERROR_VOICE_LANGUAGE_PROFILE110400Voice language profile failure.
ERROR_COUNTRY_NOT_AVAILABLE111400This country is not available.
ERROR_MESSAGE112500Cannot get the message detail.
ERROR_MESSAGE_ID113400This message id is invalid.
ERROR_CALLER_ID114500Caller ID failure.