---
metadata:
  - name: generator
    content: Diplodoc Platform v5.46.1
alternate:
  - https://yandex.com/dev/partner-statistics/doc/en/concepts/error-codes.md
  - https://yandex.com/dev/partner-statistics/doc/ru/concepts/error-codes.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/partner-statistics/doc/en/llms.txt

# Error messages

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

{% list tabs %}

- JSON

  ```json
  {   
    "error_type" : "{[error type](*type)}",   
    "message" : "{[error_message_text](*text)}",   
    "result" : "{[error](*error)}"
  }
  ```



- XML



  ```xml
  <response>
    <hashref>
      <item key="error_type">{[error type](*type)}</item>
      <item key="message">{[error_message_text](*text)}</item>
      <item key="result">{[error](*error)}</item>
    </hashref>
  </response>
  ```




{% endlist %}

#|
||**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]: Type of error.

[*text]: Brief description of the error.

[*error]: Result of calling the method. Possible values for errors:
- error: An error occurred when calling the method.
