Personal tools

Generic Error Codes

From SwitchvoxExtendAPI

Jump to: navigation, search

Many Extend API functions can return generic errors that signify a problem. Here is a list of the common ones you might run into:

Error Codes

See the Error Code Formatting section to see the xml structure when an error is returned.
See the Generic Error Codes section to see a list of general fault codes that may be returned.
Code Description
10000 Generic Error Code.
10001 Your request XML was empty.
10002 There was an error parsing your XML request. XML Error : %XML_ERROR%.
10003 Missing your methodName in your request.
10004 Error parsing your XML response : XML Error %XML_ERROR%.
10005 Your requested methodName (%METHOD_NAME%) was not found.
10011 Missing required parameter (%PARAM_NAME%).
10013 Invalid number of parameters. At least one of the following parameters is required : %LIST_OF_PARAMS%
12003 Database sql execution failed.
28007 Invalid number of parameters. The following parameters are dependent on each other : %LIST_OF_PARAMS%.
84035 Conflicting parameters. Only one of the following parameters is allowed : %LIST_OF_PARAMS%

A handful of errors are rare and indicate serious problems that should be reported to Digium right away.

Error Codes

See the Error Code Formatting section to see the xml structure when an error is returned.
See the Generic Error Codes section to see a list of general fault codes that may be returned.
Code Description
99999 "Unreachable" code has been reached. This is most likely a bug. Please report this error to technical support.