Skip to content

Errors

Every OmnAPI error response has the shape:

{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests. Please retry after 42 seconds.",
"details": { /* optional */ }
}
}
CodeHTTPMeaningWhat to do
UNAUTHORIZED401Missing or invalid x-api-keyCheck the key and rotate if leaked
FORBIDDEN403Key valid but not authorized for resourceCheck plan tier
NOT_FOUND404Resource does not existVerify ID
VALIDATION_ERROR400Request body / params invalidRead details.errors
RATE_LIMIT_EXCEEDED429IP or key rate limit hitRespect Retry-After header
INSUFFICIENT_CREDITS402Account credit too lowRecharge from dashboard
PROVIDER_UNAVAILABLE502Upstream provider downRetry with backoff
TIMEOUT504Job exceeded soft timeoutResubmit; do not retry the same job
INTERNAL_ERROR500OmnAPI gateway bugReport via support

Each error response always carries X-Request-Id — include this in any support ticket.