Face check-in problems
Camera problems, faces not recognised, flagged check-ins and enrolment errors.
Start with Maintenance → Face Check-in Diagnostics. It checks enrolment and the check-in service in one go. See Read the diagnostics.
Camera problems
| Message | What to do |
|---|---|
| Camera is not active. Please allow camera permissions. | Allow camera access for the site in the browser or phone settings, then reload the page. |
| Webcam is not active. / Webcam feed inactive or permission requested. | On the kiosk, allow camera access, then select Retry Camera Access. |
| Failed to capture photo frame. / Failed to capture webcam frame. | The camera stopped giving a picture. Reload the page. Close other apps that use the camera. |
"Face not recognized … Stand facing camera."
No enrolled employee matched the face.
- Check the employee is enrolled. Their page in HR → Employees says whether face biometrics are enrolled. The HR overview lists people "Not enrolled for photo check-in".
- Try again facing the camera, in good light, with nothing covering the face.
- Re-enrol with a better photo. Use Re-enroll Face Photo: a sharp, front-view photo of that person alone.
If the message ends with "(no enrolled employee templates found in DB)", nobody is enrolled at all. Enrol employees first. See Enrol an employee.
If nobody at all is recognised, the problem is not the employees. Run the diagnostics. A "DIMENSION MISMATCH" or "MIXED dimensions" problem causes exactly this.
"Check-in flagged for review: …"
The employee was recognised, but the check-in was not auto-approved. The message gives the reasons:
| Reason | What to do |
|---|---|
| anti-spoofing check failed (suspicious presentation attack) | The liveness check failed. Face the camera directly, in good light, and hold still. A photo or a screen fails this check on purpose. |
| face not confidently matched | Retake in better light. If it keeps happening for one person, re-enrol them with a clearer photo. |
| outside the site location | The phone's location is outside the work site, or the phone did not share its location. Allow location access and check in from the site. |
"Too soon since last check-in — please wait."
The employee checked in successfully moments ago. Wait 1 minute (the default) and try again. Only a successful check-in starts this wait.
"Face service temporarily unavailable. Please try again."
The server could not reach the face check-in service, or the service failed several times in a row. After 5 failures in a row the server stops trying for 30 seconds, by default, and then tries again.
- Wait a minute and try again.
- If it continues, the check-in service is down. This is a server problem. See When the problem is on the server.
"Face-AI authentication failed (401) …"
The check-in service refused the server's access key. Retrying will not help. The key must be corrected on the server.
"Could not reach platform API." or "Backend error (HTTP n)."
The check-in page could not reach the main server, or the server failed. Check the connection, wait a minute and try again. If it continues, it is a server problem. "Network error during check-in." means the phone itself lost its connection.
Enrolment errors
When you upload a reference photo it must pass quality checks:
| Message | Fix |
|---|---|
| No face detected. Position your face clearly in the frame. | Use a photo with a clearly visible face. |
| Multiple faces detected. Only one person may be in frame. | Use a photo of one person only. |
| Face too small. Move closer to the camera. | Use a closer photo, or zoom in on the face in the circle. |
| Face too blurry. Hold still and use a sharp, well-lit photo. | Retake in better light, holding still. |
| Face not frontal. Look straight at the camera. | Use a photo looking straight at the camera. |
| Please select a face photo to upload. | Choose a PNG or JPG file first. |
Read the diagnostics
Maintenance → Face Check-in Diagnostics reports healthy, warning or broken, then lists each problem.
| Problem shown | Meaning | Fix |
|---|---|---|
| No employees have a face template. | Nobody is enrolled. | Enrol at least one employee. |
| n stored template(s) are not valid … | Those employees' face data is damaged. They can never match. | Re-enrol those employees. |
| Enrolled templates have MIXED dimensions … | Employees were enrolled with different face models. Some can never match. | Re-enrol everyone through the current check-in setup. |
| DIMENSION MISMATCH … | The check-in service now uses a different face model than the one used at enrolment. Nobody is recognised. | Re-enrol all employees, or restore the previous model on the server. |
| Could not read face-ai /version: the face service could not be reached | The server cannot reach the check-in service. | Server problem. The service is down or its address is wrong. |
| … the face service did not answer in time | The check-in service is too slow or stuck. | Server problem. Restart the service. |
| … the face service answered with HTTP n | The service answered with an error. | Server problem. A 401 means the access key is wrong. |
Warnings:
| Warning | Meaning |
|---|---|
| FACE_ENGINE=stub … | Check-in is running in test mode, without a real face model. Do not rely on it for real attendance. |
| HR_FACE_AI_API_KEY is blank … | The server sends no access key. If the check-in service requires one, every check-in fails. |
A problem that mentions "HR_FACE_AI_FALLBACK_STUB=true" means that when the check-in service fails, the server silently swaps in a test model. Nobody is recognised and no error appears. It must be turned off on the server.