Skip to main content

How to get a trace or session ID?

This article guides on how to obtain a trace or session ID that could be used in the process of troubleshooting.

J
Written by Jakub Talarek

This article guides on how to obtain a trace or session ID that could be used in the process of troubleshooting. Providing this data to our agents speeds up the process of finding the solution for issues.

Checkout

To get the session or trace ID please follow the below steps:

  1. open either your shop's website or test widget on the Ingrid Merchant Platform,

  2. open developers' tools and make sure that the following is set:

    • the Network tab is selected,

    • the word "ingrid" is typed in the filter field,

    • the Fetch/XHR filter is selected.

  3. in the list of requests, click the session.create request.

a) trace ID

With the session.create request selected, open the Headers tab. Under Response Headers, find x-trace-id. Its value is the trace ID.

b) session ID

With the session.create request selected, open the Preview tab. The session ID is the id value in the session object, for example session: {id: "7d2c7446-ba5a-4f42-a92f-70ef7ece4769", status: "ACTIVE"}.

Important note: Ingrid stores stage logs for 7 days only, while production logs are kept only for 30 days.

Transport Administration

Trace ID can be also obtained during the booking attempt. Here the procedure is the same - the developer's tools should be opened while the merchant is booking a parcel via the Ingrid Merchant Platform.

In the Network tab (filtered by "ingrid" and Fetch/XHR), click the booking request, for example shipments.create, and open the Preview tab. If the booking fails, the response shows the error message together with the trace_id.

If parcels are booked via an external TA system, the error message most likely will be propagated together with the trace ID. If the reason for the error remains unclear, please ask Iris, Ingrid's AI assistant, in the chat on the Ingrid Help Center. If you can't reach Iris, email [email protected].

Did this answer your question?