# Ответы в случае неудачных запросов

В случае неудачного завершения запроса ответ будет содержать объект error\
с описанием ошибки.

**Параметры описания ошибки:**

<table data-header-hidden><thead><tr><th></th><th width="150"></th><th width="150"></th><th></th></tr></thead><tbody><tr><td><strong>Название</strong></td><td><strong>Тип</strong></td><td><strong>R/O</strong></td><td><strong>Описание</strong></td></tr><tr><td>code</td><td>N</td><td>R</td><td>Внутренний код ошибки. Необходим при обращении к службе технической помощи</td></tr><tr><td>message</td><td>A</td><td>R</td><td>Описание возникшей ошибки</td></tr></tbody></table>

Пример ответа в случае неудачного запроса:

```json
{
   "error": {
   "code": 14,
   "message": "Unable to perform the operation within the non two-step payment"
    }
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payler.com/ru-api/metody-api/otvety-v-sluchae-neudachnykh-zaprosov.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
