Skip to navigation

Errors

For chat over text, images and short videos, use the OpenAI-compatible Chat Completions API.

Vision API errors

Errors come back as JSON in this shape:

{
"error": {
"type": "not_found_error",
"message": "Video not found",
"param": "video_id",
"details": [...]
}
}
FieldTypeDescription
typestringError category for client-side handling (see table below)
messagestringHuman-readable explanation
param (optional)stringWhen present, the request parameter that caused the error
details (optional)arrayWhen present, more detail on the request error

Error types and HTTP status codes

StatusError TypeClient Action
400validation_errorFix your request and retry
401authentication_errorCheck that you’re using a valid Reka API key
404not_found_errorResource not found
429rate_limit_errorWait until your rate limit is restored and retry, or upgrade your API tier for higher limits
500server_errorRetry with backoff. If this persists, contact Reka at contact@reka.ai

Request ID

Every response includes an X-Request-ID header for log correlation:

X-Request-ID: a1b2c3d4e5f6...

The response body does not repeat it. Include this ID when you report an issue.