Skip to content

Receiving FaceLiveness.FaceLivenessDetectionError Code 1 #151

@haarj

Description

@haarj

Describe the bug

Some of my users are receiving
FaceLiveness.FaceLivenessDetectionError Code 1, which in the iOS SDK is a session not found error in FaceLivenessDetectionError.swift file,
public static let sessionNotFound = FaceLivenessDetectionError( code: 1, message: "Session not found.", recoverySuggestion: "Enter a valid session ID." )

We are creating a sessionID server side, passing the session ID to the FaceLivenessDetectorView constructor and receive the above error.

Steps To Reproduce

Follow steps above

Expected behavior

Faceliveness Detector view sequence starts and accepts valid sessionID.

Swift Liveness Version

1.2.14

Xcode version

15.4

Relevant log output

No response

Is this a regression?

No

Regression additional context

No response

OS Version

17.5.1

Device

iPhone 11 Pro

Specific to simulators

No

Additional context

This is intermittent. This happens to some users and we are not sure why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions