Fixing "Liveness Test is Expired" & Rejected Errors on BLS Visa Portals

If you book appointments on BLS International portals, you have likely encountered the frustrating redirect to /Global/Appointment/NewAppointment?msg=... displaying the warning:

<div class="col-12 alert alert-warning">Liveness test is expired</div>

Or worse, receiving a Liveness Test Rejected alert right when slots are open. Below is a complete breakdown of why BLS's OzLiveness integration triggers these errors and how to prevent them every single time.

Cause 1: IP Mismatch & Spoofed X-Forwarded-For Headers

When a BLS liveness transaction is initialized, the backend binds the transaction_id to the requester's IP address (or the spoofed IP inside your X-Forwarded-For header). If the remote device completing the selfie sends the liveness payload with a mismatched IP header, BLS invalidates the token and returns "Liveness test is expired".

The Fix:

Cause 2: Transaction Timeout (Slow Applicant Response)

OzLiveness tokens on BLS portals have a strict validity window. If an applicant takes several minutes to open a link and grant camera permissions, the token expires before the video frames are uploaded.

The Fix:

Cause 3: Why "Liveness Test Rejected" Happens (And Auto-Refund Protection)

Unlike an expired session, a Rejected status means the OzLiveness AI analyzed the video stream and flagged a biometric or environmental issue:

  1. Backlighting or Dim Lighting: Strong light behind the applicant silhouettes the face and fails liveness confidence thresholds.
  2. Eyeglasses Glare or Hats: Reflections on lenses obscure eye-tracking during active liveness prompts.
  3. Multiple Faces in Frame: Anyone standing behind the applicant will trigger an instant anti-spoofing rejection.

With Vecna Selfie's Bronze, Gold, and Diamond Credit Packs, if a session is marked Rejected (or if you regenerate a link for the same applicant within 30 minutes), your credit is automatically refunded and protected—so failed camera attempts never waste your balance.

Eliminate BLS Liveness Failures Today

Upgrade your agency workflow with Vecna Selfie's instant link generation, Android App, IP override support, and auto-refund credit protection.