Query log
On the logs page, you can view requests to the Yandex.Market API or the store's API, as well as find out information about the response. To do this, click on the name of your business in the cabinet in the lower left corner and go to the page Query log.
There are widgets with information about each integration on this page:
-
calls to which resources are terminated with errors (tab Requests to the Yandex.Market server);
-
the response to which type of notification is received with an error (tab API notifications);
-
the percentage and number of errors in requests.
For the integration to work correctly, fix the errors. To view the details, click on the row with the problematic request or notification type, and the log table will be updated.
How to work with logs
On the logs page, you can:
-
Search by the body of the request and response, as well as by the request parameters. To do this, in the field Search enter the information you want to find.
-
Search by filters. For example, using a filter Resource you can find queries by certain methods, and by a filter. Integration — queries related to the selected integration.
-
To view detailed information on a request, click on the line with it to see the request itself and the response received. Learn more about errors and how to solve them:
-
Check which integration requests and responses relate to in the block Type of integrations the name that you provided in the request or response is specified, or the type Documentation Console if you have used it. Learn more about how to sign integrations
Unique request ID
The market transmits a unique request identifier in the header traceparent:
- the response, if it is a request from the store to the Market.
- the request itself in the case of API notifications, when the Market sends a request to the store. How to work with notifications
Example of a request or response header:
Content-Type: application/json
traceparent: 00-8b05ba11f1d37f7cfce0eac1a5230600-8b23fad39202f968-01
With the request ID, you can find its logs faster, and it can also be useful when contacting support.
To find information about a completed query:
-
Insert the unique identifier in the field Search.
-
Click on the request to see detailed information, including its ID in the field. Tracing.
It is included in the open standard OpenTelemetry.