Troubleshooting

The API response may not include a status code of 200. In this situation, check the status code
and raise an error.

Below is a short list of the most common status codes and their meanings:

200 (OK)

The request was good.

  • When requesting data for more than 1 report:

400 (Bad Request)

The request was bad or malformed.

  • Verify that the URL, authorization (name and password), headers, and request payload have the correct values.

404 (Not Found)

The request report does not exist.

  • Verify that you're passing valid report IDs.

422 (Unprocessable Entity)

The specified dimensions or metrics are invalid, or their combination is not supported.

Review the API reference, as well as the dimensions and metrics documentation for the most up-to-date information.

If you're having difficulty getting started, be sure to try out the examples in the API documentation. Use the dropdowns on the right panel on the Data endpoint or Report endpoint.