Error Codes

When the API encounters an error, it responds with a standardized error format that includes an error code, HTTP status code, and a descriptive message. This reference provides a comprehensive list of all possible error codes you may encounter while using the API, along with their associated HTTP status codes and explanations.

Error Code
HTTP Status
Message
Log Level

AUTHENTICATION_FAILED

401

Authentication failed

-

AUTHENTICATION_FAILED_INACTIVE_KEY

401

Authentication failed - Pro subscription is inactive. Please upgrade your subscription to continue using the API.

-

INVALID_API_KEY

401

Invalid API key provided

-

UNAUTHORIZED

403

Unauthorized access

-

INVALID_REQUEST

400

Invalid request parameters

-

INVALID_MODEL

400

Invalid model specified

-

CHARACTER_NOT_FOUND

404

No character could be found from the provided character_slug

-

INVALID_CONTENT_TYPE

415

Invalid content type

-

INVALID_FILE_SIZE

413

File size exceeds maximum limit

-

INVALID_IMAGE_FORMAT

400

Invalid image format

-

CORRUPTED_IMAGE

400

The image file is corrupted or unreadable

-

RATE_LIMIT_EXCEEDED

429

Rate limit exceeded

-

MODEL_NOT_FOUND

404

Specified model not found

-

INFERENCE_FAILED

500

Inference processing failed

error

UPSCALE_FAILED

500

Image upscaling failed

error

UNKNOWN_ERROR

500

An unknown error occurred

error

// QUANTWARE //

Last updated