docs
UAEN
Docs/Platform/Error Codes

Error Codes

Rekognita API uses standard HTTP response codes and adds detailed error codes for precise issue diagnosis.

HTTP Codes

CodeNameDescription
200OKRequest successful
201CreatedResource created
400Bad RequestInvalid request format or parameters
401UnauthorizedInvalid or missing API key
403ForbiddenKey lacks permission for this operation
404Not FoundResource not found
413Payload Too LargeFile exceeds maximum size
415Unsupported Media TypeFile format not supported
422Unprocessable EntityDocument cannot be processed
429Too Many RequestsRate limit exceeded
500Internal Server ErrorError on Rekognita side
503Service UnavailableService temporarily unavailable

Error Format

{
  "error": {
    "code": "invalid_file_type",
    "message": ".exe file format is not supported. Supported formats: pdf, docx, xlsx, jpg, png, tiff",
    "param": "file",
    "doc_url": "https://docs.rekognita.com/supported-files"
  }
}

Detailed Error Codes

CodeDescriptionSolution
invalid_api_keyInvalid API keyCheck the key in the Dashboard
expired_api_keyKey deactivatedCreate a new key
invalid_file_typeUnsupported formatSee supported types
file_too_largeFile too largeReduce size or split
page_limit_exceededToo many pagesProcess in chunks
rate_limit_exceededRate limit exceededWait for Retry-After
processing_failedProcessing failedTry again or change model
insufficient_creditsInsufficient creditsTop up your balance
schema_validation_failedInvalid JSON schemaCheck schema format