Errors
Learn about our response and error codes.
Last updated
Learn about our response and error codes.
Last updated
ComplyCube uses standard HTTP response codes to indicate the success or failure of an API request.
Codes in the 2xx
range indicate success. Codes in the 4xx
range indicate an error that failed given the information provided. Codes in the 5xx
range indicate an error with ComplyCube's servers.
Some 4xx
errors include an error code that briefly explains why the error occurred.
Code | Description |
---|---|
Error | Description |
---|---|
Below, you will find some example error responses from the ComplyCube API.
You'll most likely receive a 401: Unauthorized
response when you provide an invalid API key.
You'll most likely receive a 403: Forbidden
response when you do not have access to the requested resource.
You'll get a 400: Bad Request
when you fail validation.
When a resource is not found, you will get a 404: Not Found
response.
You will receive a 429: Too Many Requests
response when you make too many requests.
You'll receive a 500: Internal Server Error
response when something goes wrong on our side.
200
Everything worked as expected.
204
The resource is deleted.
400
The request has missing arguments or is malformed. See an example of this type of error.
401
The request is not authenticated. See an example of this type of error.
402
The request is not available as payment is due. This is only returned for users on our credit-based plans.
403
The request is authenticated but does not have sufficient permissions. See an example of this type of error.
404
The resource requested does not exist.
413
The request is too large.
422
A processing error has occurred.
429
The rate limit or service quota has been breached.
500
Something is wrong on our end. Subscribe to our status page to be notified of any incident.
two_sides_expected
Returned when only one side of a supported document type is provided before running a check.
Applies to Document Check.
unsupported_document_format
Returned when an unsupported document attachment format is provided before running a check.
Applies to Document Check.
unsupported_document_type_country
Returned when a check is run against an unsupported ID type and country combination.
Applies to Document Check.
document_requires_issuing_country
Returned when a check is run against a document with a missing issuingCountry
attribute.
Applies to Document Check.
document_type_undetected
Returned when an unsupported document type is checked. It could also be returned when the image quality is inadequate to recognize the document.
Applies to Document Check and eligible Document uploads.
invalid_check_update
Returned when an update request is made on an unmodifiable check type. Only Standard Screening Checks and Extensive Screening Checks can be updated.
pending_check_unmodifiable
Returned when an update request is made on a check with a status of 'pending'.
image_unreadable
Returned when ComplyCube is not able to read data from a document image. This may occur when the image is of low quality or is incorrectly oriented.
Applies to Document Check and eligible Document uploads.
under_exposure
Returned when the uploaded document image is too dark. This may occur when the image is underexposed.
Applies to eligible Document uploads.
excessive_glare
Returned when the uploaded document image has excessive glare.
Applies to eligible Document uploads.
document_liveness_failed
Returned when a document photo is deemed likely as spoofed, i.e., not live. It could also be returned when the image quality is inadequate to establish the liveness.
Applies to eligible Document uploads.
document_photocopy_detected
Returned when a document photo is deemed to be a photocopy.
Applies to eligible Document uploads.
invalid_image_format
Returned when an invalid image format is provided.
Applies to Live Photo, Identity Check, and Document Check.
liveness_failed
Returned when a live photo is deemed likely as spoofed, i.e., not live. It could also be returned when the image quality is inadequate to establish the liveness.
Applies to Live Photo.
multiple_faces_detected
Returned when multiple faces are detected. The client must retake the live photo.
Applies to Live Photo.
no_face_detected
Returned when no faces are detected. The client must retake the live photo.
Applies to Live Photo.
face_not_centred
Returned when a face is not centered. The client must retake the live photo.
Applies to Live Photo.
facial_features_obstructed
Returned when facial features are obstructed. The client must retake the live photo.
Applies to Live Photo.
face_too_small
Returned when the face is too small. The client must come closer and retake the live photo.
Applies to Live Photo.
face_too_close
Returned when the face is too close. The client must move away from the camera and retake the live photo.
Applies to Live Photo.
face_not_centered
Returned when the face is too close to the edge of the photo. The client must center their face and retake the live photo.
Applies to Live Photo.
face_cropped
Returned when the face has been cropped. The client must retake the photo with their entire face in the frame.
Applies to Live Photo.
unsupported_poa_document_type
Returned when a check is run against an unsupported proof of address document.
Applies to Proof of Address Check.
unsupported_country
missing_address_attributes
Returned when a check is run while lacking the minimum required address attributes.
Applies to Multi-Bureau Check.
missing_client_attributes
Returned when a check is run while lacking the minimum required client attributes.
Applies to Multi-Bureau Check.
invalid_id_number_format
Returned when a check is run with an incorrectly formatted ID Number for a given country (e.g., SSN, Social Insurance Number).
Applies to Multi-Bureau Check.
image_too_large
Returned when the image provided is too large.
Applies to Document, Live Photo, Identity Check, and Document Check.