2018-02-06 21:04:07 +01:00
|
|
|
# Sample payloads for common errors
|
|
|
|
|
|
|
|
## Invalid API key
|
|
|
|
|
|
|
|
A typical failed JSON response for when the API key is invalid:
|
|
|
|
|
|
|
|
{generate_code_example|invalid-api-key|fixture}
|
2018-02-16 21:03:50 +01:00
|
|
|
|
|
|
|
## Missing request argument(s)
|
|
|
|
|
|
|
|
A typical failed JSON response for when a required request argument
|
|
|
|
is not supplied:
|
|
|
|
|
|
|
|
{generate_code_example|missing-request-argument-error|fixture}
|
2018-02-16 21:58:03 +01:00
|
|
|
|
|
|
|
## User not authorized for query
|
|
|
|
|
|
|
|
A typical failed JSON response for when the user is not authorized
|
|
|
|
for a query:
|
|
|
|
|
|
|
|
{generate_code_example|user-not-authorized-error|fixture}
|