Skip to content

Commit 0618e05

Browse files
authored
chore: update validation exception recovery suggestion to avoid confusion (#112)
1 parent 0bdf4ce commit 0618e05

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/FaceLiveness/Views/Liveness/FaceLivenessDetectionError.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ public struct FaceLivenessDetectionError: Error, Equatable {
8888
code: 12,
8989
message: "The input fails to satisfy the constraints specified by the service.",
9090
recoverySuggestion: """
91-
Potential reasons inlcude: video quality or size is invalid, video container format not supported,
92-
video does not have enough information - no person detected in video, request couldn't be parsed or is invalid,
93-
session has expired or is invalid, S3 bucket is invalid/in another AWS region, KMS Key is invalid."
91+
Retry the face liveness check and prompt the user to follow the on screen instructions.
9492
"""
9593
)
9694

0 commit comments

Comments
 (0)