Mobile SDK error codes

Upon encountering an error, the Mobile SDK will throw ComplyCubeErrorCode error. The possible types of errors are listed below:

Error TypeDescription

BiometricStageCount

The configuration provided contains duplicate Selfie photo or Selfie videostages.

Cancelled

User has cancelled the flow and exited the SDK (returned to the onCancelledcallback handler)

Connectivity

A Network error has occured.

DocumentMandatory

A Document stage is mandatory with the currently configured stages.

ExpiredToken

The token used to initialize the SDK has expired. Create a new SDK token and restart the flow.

FlowError

An unrecoverable error occurred during the flow.

InvalidCountryCode

An invalid country code is provided.

JailBroken

The SDK cannot be launched on this device as it has been compromised.

NoDiskAccess

The user has declined disk access permission.

NoDocumentTypes

A Document stage has been initialized without setting document types.

NoResult

No Result is given to the callback when returning back to your up. If this keeps occuring, let us know about it.

NoUserConsent

The user has not given consent to using the SDK.

NotAuthorized

The SDK has attempted a request to an endpoint you are not authorized to use.

Unknown

An unexpected error has occurred. If this keeps occurring, let us know about it.

UnsupportedCountryTypeCombination

An unsupported country code is provided for a specific document type.

UnsupportedDocumentType

An unsupported document is provided.

UploadError

An error occurred during the upload document or selfie upload process.

UploadRequireGuidance

If useLiveCaptureOnly is set to false, enabling the guidance feature is required. This can be done by setting isGuidanceEnabled to true.

Last updated