Errors

API errors

Errors are returned as a JSON response with the following shape:

1{
2 "error": {
3 "type": "not_found_error",
4 "message": "Video not found",
5 "param": "video_id",
6 "details": [...]
7 }
8}
FieldTypeDescription
typestringError category for client-side handling (see table below)
messagestringHuman-readable explanation
param (optional)stringWhen present, indicates with request parameter caused the error
details (optional)arrayWhen present, provides additional information on request errors

Error Types and HTTP Status Codes

StatusError TypeClient Action
400validation_errorFix your request and retry
401authentication_errorEnsure 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...

This is not duplicated in the response body. Please include this ID when reporting issues.