Skip to main content
All error responses follow this format:
{
  "code": "ERROR_CODE"
}
The HTTP status code conveys the error category. Use the code field for programmatic error handling and i18n/localization.

Authentication errors

Error CodeHTTP StatusDescription
AUTH_NOT_AUTHENTICATED401Authentication required
AUTH_TOKEN_EXPIRED401Authentication token has expired
AUTH_TOKEN_INVALID401Invalid authentication token
AUTH_TOKEN_INVALID_FORMAT401Token format is invalid
AUTH_FORBIDDEN403Insufficient permissions

Validation errors

Error CodeHTTP StatusDescription
VALIDATION_FAILED400Input validation failed
VALIDATION_IDEMPOTENCY_KEY_INVALID400Invalid idempotency key
INVALID_PARAMETER400Invalid parameter provided

Order errors

Error CodeHTTP StatusDescription
ORDER_NOT_FOUND404Order not found
ORDER_NOT_PENDING400Order is not in pending status
ORDER_NOT_OWNER403Not the order owner
ORDER_EXPIRED400Order has expired
ORDER_NOT_COMPLETED400Order is not completed
ORDER_FILE_NOT_UPLOADED400Order file has not been uploaded
ORDER_ALREADY_CONFIRMED400Order has already been confirmed
ORDER_ALREADY_COMPLETED400Order is already completed
ORDER_ALREADY_FAILED400Order has already failed
ORDER_TYPE_NOT_MATCH400Order type does not match
ORDER_TYPE_CANT_DOWNLOAD400This order type cannot be downloaded
ORDER_TIMEOUT408Order processing timed out

Usage & plan errors

Error CodeHTTP StatusDescription
USAGE_LIMIT_EXCEEDED400Usage limit exceeded
USAGE_NOT_ENOUGH400Insufficient usage quota
PLAN_NOT_FOUND404Plan not found

Webhook errors

Error CodeHTTP StatusDescription
WEBHOOK_NOT_FOUND404Webhook not found

Rate limiting

Error CodeHTTP StatusDescription
RATE_LIMIT_EXCEEDED429Too many requests

Server errors

Error CodeHTTP StatusDescription
SERVER_INTERNAL_ERROR500Internal server error