Errors
Errors return a JSON body with a code and a message.
{ "error": { "code": "sport_not_in_plan", "message": "This key does not cover cs2." } }
| HTTP | Code | Meaning |
|---|---|---|
| 401 | invalid_key |
No key, or the key is unknown |
| 401 | key_expired |
Sandbox key older than 7 days, or a revoked key |
| 403 | production_locked |
Production key without a licence record or an active plan |
| 403 | sport_not_in_plan |
The event's sport is outside your key |
| 403 | plan_feature |
The endpoint needs a bigger plan |
| 404 | not_found |
Unknown event or bet id |
| 422 | validation | A field is missing or out of range |
| 429 | quota_exceeded |
Monthly or sandbox requests used |
| 429 | rate limit | More than 600 requests a minute on one key |