Error Responses GraphQL API
The GraphQL API returns standard HTTP status codes to indicate an error. Whenever you receive a status code while trying to run a request, you’ll also receive an error message. These errors relate to authentication, limits, access, or query and GraphQL construction issues.
You can receive the following status codes and error messages in a query format:
|Status code||Error Response||Motive|
|400||In aggregated queries it is mandatory to provide the desired time interval.||The
|400||The value for the query limit is invalid (must be between 0 to 10000 rows).||The limit of rows per query has been exceeded.|
|400||You have exceeded the limit amount allowed for selected fields (35 fields).||The limit of selected fields per query has been exceeded.|
|400||Argument"[value]” has invalid value [[value], [value]invoceationsss].\nIn element #1: Expected type "[value]”, found [value].||An invalid argument value, indicated in the error response, was used in the request.|
|400||Cannot query field"[value]" on type "[value]”.||A non-existing field, indicated in the error response, was used in the request.|
|400||Unknown argument "[value]” on field "[value]” of type "Query". Did you mean "[value]”?||An invalid argument, indicated in the error response, was used in the query.|
|401||The authentication could not be performed. Reason : Invalid Token||An invalid token was informed.|
|401||The request does not contain the required authentication headers.||A token wasn’t informed in the request’s header.|
|401||The authorization token has expired.||The informed token has expired.|
|404||The following resource could not be found.||The client_id isn’t allowed to access the specific API resource.|
|429||You have reached the request rate limit!||The request rate limit for the IP address has been exceeded.|
If you receive any of the described error responses, see the rest of the GraphQL API documentation to find specifications and correct your request.
Didn’t find what you were looking for? Open a support ticket.