Errors
QueryDeck API status codes and error response bodies, and which errors are safe to retry.
Errors are JSON with a human-readable message:
{ "message": "Invalid or revoked API key" }Validation errors also list the fields that failed:
{
"message": "Validation failed",
"errors": [{ "field": "days", "message": "Too big: expected number to be <=365" }]
}| Status | Meaning | Retry? |
|---|---|---|
400 | The body failed validation | No, fix the request |
401 | Missing, unknown, revoked or expired key | No |
403 | The key or organisation doesn't share this data set or channel | No |
404 | Property not found, or not shared with this key | No |
429 | Rate limit reached | Yes, after Retry-After seconds |
5xx | QueryDeck had a problem | Yes, with backoff |