Result Reference
Quick links: Overview | Building the SDK | Start Liveness Verification | UI Customization | Installation | Current Version | Requirements | Source Code | Result Reference | Release Notes | FAQ
CafFaceLivenessLiteResult β Success Event
signedResponse
Opaque JWT returned by async route. Forward it to your backend; the SDK does not return isAlive or images.
From 2.0.0, a successful capture starts an async transaction. Use signedResponse with your backend to obtain the final liveness outcome.
CafErrorType β Error Handling
Common error types returned via didFinishWithError(type:description:):
unsupportedDevice
Device does not meet minimum HW/SW requirements
cameraPermission
Camera permission not granted
networkException
Network-related error (no internet, timeout, etc.)
serverException
Server-side processing error
tokenException
Invalid or expired token
captureAlreadyActiveException
A previous capture is still active
userTimeoutException
User did not complete the capture in time
imageNotFoundException
Capture image not found
tooManyRequestsException
Rate limiting / too many requests
invalidResponseException
Invalid or malformed server response
permissionException
Generic OS permission error
libraryException
Underlying library failure
unexpectedErrorException
Unexpected internal error
unknownException
Unspecified error
cameraException
Camera hardware error
certificateException
Certificate validation failed
invalidOptionsException
Invalid SDK configuration options provided
securityException
Security violation detected (triggered when enableSecurity: true and instrumentation or hooking is detected)
CafFailureType β Failure References
Available feedback codes returned via didFinishWithFailure(type:description:signedResponse:):
unknown
Try again
β
β
tooMuchMovement
Keep still
β
β
tooBright
Move somewhere darker
β
β
tooDark
Move somewhere brighter
β
β
misalignedFace
Keep your face in the oval
β
β
faceTooFar
Move your face closer to the screen
β
β
faceTooClose
Move your face farther from the screen
β
β
sunglasses
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
β οΈ
β
Key: β = will be returned, β = will not be returned, β οΈ = may be returned in the future
Last updated

