If you are receiving errors on an endpoint request, you can use the Debug Dashboard to dig into the problem. You need to use the correlation id which can be found as X-Correlation-Id in the request header.
To obtain the correlation id, add
-v to a curl command. For example:
curl--header 'Content-Type: application/json'--request GET 'https://api.test.ix-io.net/quick-start/my-first-project/xapix-io-api-data/vehicle-demo/variants.json' -v
Make sure your project is published.
Copy the cURL command from the Publish Project pane on the Pipeline Dashboard.
Run the command in a terminal but add
-v to the command.
In the results, search for X-Correlation-ID and copy the id number.
To view request information for each system used by running the cURL command, do the following:
From the Home menu, click Debug.
On the Get Request Information window, paste the correlation-id number into the field, then click the Search icon.
All the systems used by the request/response are displayed.
You can then drill down and inspect each request by clicking the Inspect button next to each section.