1 |
fioErrCode.PERMISSION_REFUSED |
Camera or microphone access was denied by the user or browser. |
Prompt the user to allow camera access and retry. |
2 |
fioErrCode.NO_FACES_DETECTED |
No face was detected within the camera frame during the session. |
Ask the user to ensure good lighting and face the camera directly. |
3 |
fioErrCode.UNRECOGNIZED_FACE |
The scanned face does not match any enrolled user in your app's facial index. |
Show an error and offer the enroll flow if the user is new. |
4 |
fioErrCode.MANY_FACES |
Multiple faces were detected simultaneously in the camera frame. |
Ask the user to ensure only their face is visible. |
5 |
fioErrCode.FACE_DUPLICATION |
This face is already enrolled in your application's facial index. |
Redirect the user to the login (authenticate) flow instead. |
6 |
fioErrCode.PAD_ATTACK |
Liveness detection flagged a spoofing attempt (photo, video, or mask). |
Reject the attempt without exposing details about the detection logic. |
7 |
fioErrCode.MINORS_NOT_ALLOWED |
Age estimation indicates the user is under the minimum age threshold set in your app config. |
Display an appropriate age-gate message and abort the flow. |
10 |
fioErrCode.NETWORK_IO |
A network error or timeout occurred communicating with FACEIO servers. |
Retry after a short delay; check the user's connectivity. |