Error messages

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

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

Parameter

Type

Value

response (only for XML)

Contains the request result.

error_type

String

Type of error.

message

String

Brief description of the error.

result

String

Result of calling the method. Possible values for errors:

  • error: An error occurred when calling the method.

Type of error.

Brief description of the error.

Result of calling the method. Possible values for errors:

  • error: An error occurred when calling the method.