Error Codes
HTTP Status Codes
Use the status code to decide whether to fix, wait, or retry.
| Status | Meaning | Action |
|---|---|---|
400 | Invalid request | Correct fields or values. |
401 | Authentication failed | Replace the key or token. |
402 | Insufficient credits | Add credits or change plan. |
403 | Account or permission blocked | Verify email or required access. |
404 | Resource not found | Check the path or ID. |
422 | Schema validation failed | Match the documented request schema. |
429 | Concurrency or rate limit | Honor Retry-After. |
5xx | Temporary server failure | Retry with backoff. |
Error Shape
curl -i "https://api.datablue.dev/v1/auth/me" \ -H "Authorization: Bearer INVALID_KEY"
Example response
{
"detail": "Invalid or expired API key"
}