aws-amplify / amplify-ui-swift-liveness

This repository offers a UI component for Amazon Rekognition Face Liveness, enabling developers to ensure that only authentic users, and not bad actors using spoofs, can access their services.
https://ui.docs.amplify.aws/swift/connected-components/liveness
Apache License 2.0
9 stars 20 forks source link

Feature request: Improve error messages #114

Closed alekkova closed 5 months ago

alekkova commented 7 months ago

Is your feature request related to a problem? Please describe.

There are only a handful of error cases defined for face liveness session without any additional description. One of those errors is also an unknown error. Such limited error reporting makes it hard to understand issues that users are facing.

An example of receiving an unknown error was also reported here: https://github.com/aws-amplify/amplify-swift/issues/3546

Describe the solution you'd like

Provide better error descriptions. Avoid using an unknown error or attach the underlying error description to the error case.

Describe alternatives you've considered

There are no alternatives.

Additional context

No response

github-actions[bot] commented 7 months ago

This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!

mRamzii commented 5 months ago

+1

My implementation also returns unknown errors a lot of the times, I can't figure out what the problem is... This feature would be very appreciated

github-actions[bot] commented 5 months ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.