Response codes¶
Response Code
|
Meaning
|
---|---|
200 OK
|
API request valid and response provided. Note that
errors in GraphQL queries are returned with a 200 code
but containing an
error field in the GraphQL JSON response. |
400 Bad Request
|
An invalid request was received by the API.
Content is JSON object containing a
message name. |
401 Unauthorized
|
Authentication failed due to invalid credentials.
The content is an
application/json object containing a message
name which contains the string “access denied”. |
403 Forbidden
|
Query disallowed by pre-query rule checks
(e.g. too many variables, complete table too big), or
if query does not have a rule variable, whole table
is blocked by post query rules, or all categories of
the rule variable blocked by post query rules.
The content is an |
404 Not Found
|
Invalid URL prefix, endpoint or unknown dataset name.
Content is JSON object containing a
message name. |