Result Reference
CafFaceLivenessLiteResult – Success Event
signedResponse
Opaque JWT issued with the liveness session. Forward it to your backend; the SDK does not return isAlive or images.
CafErrorType – Error Handling
The SDK reports execution errors via didFinishWithError(type:description:). Only the error types below are returned by CafFaceLivenessLite. For when each one is expected and how to guide the user, see Error Handling:
CafFailureType – Failure References
Available feedback codes returned via didFinishWithFailure(type:description:signedResponse:). The type is the most likely reason for the failure, and any code the SDK does not recognize is returned as unknown. description carries the localized message for that reason, and signedResponse is always present — it is the same JWT issued with the session, so forward it to your backend as you would on success:
unknown
Try again
tooMuchMovement (legacy)
Keep still
tooBright (legacy)
Move somewhere darker
tooDark (legacy)
Move somewhere brighter
misalignedFace (legacy)
Keep your face in the oval
faceTooFar (legacy)
Move your face closer to the screen
faceTooClose (legacy)
Move your face farther from the screen
sunglasses (legacy)
Remove sunglasses
systemError
System Error
rejected
Transaction could not be completed
faceNotFound
Align your face in the oval and then try to keep still
obscuredFace
Make sure your whole face is visible and remove any accessories that might cover your face
timeout
System timeout
eyewear
Remove your eyewear
multipleFaces
Ensure only one person is visible
eyesClosed
Make sure your eyes are open
userNotFound
Transaction could not be completed
lightingIssues
Make sure your face is well lit and free from glare
framesBlurry
Align your face in the oval and then try to keep still
deviceIssue
Try a different device
motionIssue
Align your face in the oval and then try to keep still
backgroundIssue
Move to a different location with a neutral background
deviceRestart
Please restart your device and try again
processingFault
Please try again
Values marked as legacy are kept for compatibility, but the current versions no longer return them. See Legacy Types for the current equivalent of each one.
Next step
Forward the signedResponse to your backend, which validates it and retrieves the result: Backend Setup.
Last updated

