Error catalog
RFC 9457 problem+json. type URIs on this host; code is the stable SDK branch.
Every error from api.flashapi.io uses application/problem+json. The type field is https://docs.flashapi.io/errors/{kebab-code}.
SDKs should branch on
code, not on title or detail.| code | status | retryable | title |
|---|---|---|---|
| INVALID_API_KEY | 401 | false | Invalid API key |
| INSUFFICIENT_CREDITS | 402 | false | Insufficient credits |
| ACCOUNT_DISABLED | 403 | false | Account disabled |
| FORBIDDEN | 403 | false | Forbidden |
| RATE_LIMITED | 429 | true | Rate limited |
| INVALID_PARAMETER | 400 | false | Invalid parameter |
| RESOURCE_NOT_FOUND | 404 | false | Resource not found |
| VERSION_SUNSET | 410 | false | API version retired |
| ENDPOINT_SUNSET | 410 | false | Endpoint retired |
| UPSTREAM_UNAVAILABLE | 503 | true | Upstream unavailable |
| UPSTREAM_TIMEOUT | 504 | true | Upstream timeout |
| INTERNAL_ERROR | 500 | true | Internal error |