> For the complete documentation index, see [llms.txt](https://support.morozovpimnev.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.morozovpimnev.ru/amocrm/otladka.md).

# Отладка

{% hint style="danger" %}

### Внимание! Отладкой должен заниматься Ваш технический специалист.

{% endhint %}

### Выгрузка заказа

`request` - это запрос для выгрузки\
`response` - это ответ, если он 200-202 и нет ошибок, занчит все хорошо

Чтобы посмотреть запросы при выгрузке

{% tabs %}
{% tab title="Модуль "История изменений"" %}
Если стоит наш модуль ["История изменений"](https://asmp.su/changelog) то все намного проще, рекомендуем его ставить

После выгрузки заказа, в самом заказе, перейдите на вкладку "Журнал изменений" там будут все запросы/ответы по API

<div data-full-width="true"><figure><img src="/files/I2yKrlNEgSyDBYPwRz6h" alt=""><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="Модуль "Журнал событий"" %}
Есил у вас редакция HostCMS.Бизнес и выше

Перйдите в модуль  **Система** →  ["Журнал событий"](https://www.hostcms.ru/documentation/modules/eventlog/) найдите логи связанные с Вашим заказом

обычно они выглядят следующим образом: `[513][amocrm][request] ...`\
где 513 - это номер заказа

<div data-full-width="true"><figure><img src="/files/GVgalgSI39PXpmneubT2" alt=""><figcaption></figcaption></figure></div>
{% endtab %}

{% tab title="log.csv" %}
Если у вас редакция HostCMS.Малый Бизнес и ниже

Логи хранятся в файлах в директории **/hostcmsfiles/logs/(текущая дата).log.csv**

Откройте файл и найдите логи связанные с Вашим заказом

обычно они выглядят следующим образом: `[513][amocrm][request] ...`\
где 513 - это номер заказа
{% endtab %}
{% endtabs %}


---

# 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://support.morozovpimnev.ru/amocrm/otladka.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.
