> For the complete documentation index, see [llms.txt](https://piqpay.gitbook.io/merchant-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://piqpay.gitbook.io/merchant-integration/ru/dopolnitelnaya-informaciya/oshibki.md).

# Ошибки

<table><thead><tr><th valign="top">Http статус-код</th><th valign="top">Текст ошибки</th><th valign="top">Описание ошибки</th><th valign="top">Код ошибки</th></tr></thead><tbody><tr><td valign="top">500</td><td valign="top">Something went wrong. Unhandled server error.</td><td valign="top">Неверный/неактивный API ключ в теле запроса, мерчант не ACTIVE, прочие необработанные ошибки</td><td valign="top">0</td></tr><tr><td valign="top">401</td><td valign="top">Unauthorized action is forbidden. Something is wrong with the api key.</td><td valign="top">Отсутствует или пустой Authorization: Bearer token (secretKey), неверный secretKey, API ключ в статусе TERMINATED; IP не в allowed_ips (если whitelist настроен)</td><td valign="top">1</td></tr><tr><td valign="top">403</td><td valign="top">Requested action is forbidden. Something is wrong with api key permissions.</td><td valign="top">Запрошенные действия запрещены. Проблемы с правами для указанного API ключа.</td><td valign="top">3</td></tr><tr><td valign="top">404</td><td valign="top">Requested resource not found. </td><td valign="top">Сумма депозита/вывода (minorAmount) ниже/выше лимита. Требуются дополнительные настройки аккаунта мерчанта</td><td valign="top">4</td></tr><tr><td valign="top">400</td><td valign="top">Customer client is suspended. BadRequest</td><td valign="top">Пользователь, с указанным client id, заблокирован. Не поддерживаемый payment method. Битый JSON, невалидные поля </td><td valign="top">60037, 60031, 12, 2</td></tr><tr><td valign="top">409</td><td valign="top">Payment/payout already exists for merchant and client id.</td><td valign="top">Депозит/вывод, для указанного client id уже существует</td><td valign="top">60033, 60036</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://piqpay.gitbook.io/merchant-integration/ru/dopolnitelnaya-informaciya/oshibki.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.
