Skip to main content

Error Handling

A guide to understanding error messages, codes, and scenarios for smoother API interactions.

Lior Bar-Dov avatar
Written by Lior Bar-Dov
Updated over a month ago

Interacting with an API may sometimes result in errors or validation issues. Understand the common scenarios where errors might occur, the associated messages, and the error codes to ensure smoother and more efficient API interactions.


Url Validations & Errors Messages

Scenario

Message

Code

Url header contains an invalid token

“invalid token”

403

Url contains parameters with values that are not supported

“parameter value is not supported”

500

When resolving the “next” link after more than one hour from the initial request

“next link has expired, next link page expires after one hour from the initialize request”

500

At least one parameter appears more than once

“parameters shouldn't appear more than once”

500

Url is missing mandatory parameters

“url is missing mandatory parameters”

500

When adding multiple comma-separated values to a single value parameter

“parameter can have only one value”

500

When asking data for time frame (start & end date) that does not include any data

“date range is not supported”

500

When <breakdowns | metrics> contains values that are not supported

“some <breakdowns/metrics> values are not supported”

500

Any other server error

“internal server error”

500

Did this answer your question?