Mobile
A failure means the capture ran and was evaluated, but the user did not pass. The SDK delivers it to your app as a failure result with three values: the failure type, a technical description, and the signed response from the server.
A failure is always the last result of a run. After it, no other result is sent for that run.
Failure Types
Failures are decided by the liveness engine after the capture, not by the device. The failure type is the engine's most likely reason.
The types are the same on both platforms, spelled in each platform's naming style. See Failure Reasons and User Guidance for every type in detail.
Capture conditions
The light, the face position or the user's movement prevented a good capture.
MOTION_ISSUE, LIGHTING_ISSUES, FACE_NOT_FOUND, FRAMES_BLURRY, BACKGROUND_ISSUE
motionIssue, lightingIssues, faceNotFound, framesBlurry, backgroundIssue
Face
Something on or around the face blocked the check.
EYES_CLOSED, EYEWEAR, OBSCURED_FACE, MULTIPLE_FACES
eyesClosed, eyewear, obscuredFace, multipleFaces
Device
The device, or the way the app was built or installed, did not pass.
DEVICE_ISSUE, DEVICE_RESTART
deviceIssue, deviceRestart
Processing
The engine could not complete the evaluation. The cause is not the user.
UNKNOWN, SYSTEM_ERROR, REJECTED, TIMEOUT, PROCESSING_FAULT
unknown, systemError, rejected, timeout, processingFault
Registration
There is no biometric record of the user to compare against. Only in flows that compare the face with a registered one.
USER_NOT_FOUND
userNotFound
The enum also declares legacy types that the current versions no longer return, such as TOO_DARK and FACE_TOO_FAR. See Legacy Types for the current equivalent of each one.
What the SDK Does When a Failure Happens
Delivers the failure with a signed response from the server, like a success.
Registers the attempt with the Certta backend in the background, so it can be processed and queried later.
Closes the capture screen and the loading screen, and stops the security monitoring.
Ends the run, so a new capture can be started right away.
The configuration is kept, so you can start the SDK again without configuring it again.
What Your App Should Do
Send the signed response to your backend. Validate it on your backend and use it as the source of truth. Never decide the outcome on the device.
Guide the user. Map the failure type to a localized message that tells the user what to do on the next attempt. Do not show the description or the type names to your users.
Let the user try again when it can help. Each failure type in Failure Reasons and User Guidance says whether a new attempt helps.
Cancelled Is Not a Failure
When the user closes the capture screen or sends the app to the background during the capture, the SDK delivers a cancelled result. It is neither an error nor a failure: go back to the previous screen without showing an error message.
Debugging
To investigate a failure, enable the SDK logs. Logs only appear when your app is debuggable, so the SDK never logs sensitive data such as the token or the signed response in production.
Next Steps
For every failure type in detail: Failure Reasons and User Guidance
For how your backend handles the signed response that comes with a failure: Backend Failures
Last updated

