Error messages

If an error occurs, the server returns the following result:

{   
  "error_type" : "{type_of_error}",   
  "message" : "{error_message_text}",   
  "result" : "{error}"
}
<response>
  <hashref>
    <item key="error_type">{type_of_error}</item>
    <item key="message">{error_message_text}</item>
    <item key="result">{error}</item>
  </hashref>
</response>

Parameter

Type

Value

response (for XML only)

Contains the result of the request.

error_type

Row

The type of error.

message

Row

A short description of the error.

result

Row

The result of calling the method. Acceptable values in the case of errors:

  • error: An error occurred when calling the method.