Liveness StartFaceLivenessSession Validation Error

0

I am trying to get start with Aws Liveness check, I found quite a few good guides, this one in particular. https://ui.docs.amplify.aws/react/connected-components/liveness

I managed to get my backend up and running and creating sessions, however the liveness check errors when it calls the StartFaceLivenessSession

The error I get is this:

{
    "name": "ValidationException",
    "$fault": "client",
    "$metadata": {},
    "message": "Request has invalid parameters"
}

The error class seems to be this one RekognitionStreamingServiceException

However there is no way to figure out what the error is. I double checked the bucket name and region, the video format should ok since all that configuration was made by aws amplify

I cant find a way to check the session or anything related to it

1 Risposta
0

Dear Marcel,

Thanks for reaching out.

Could you please share the version of the Amplify UI Liveness React SDK that you are getting the exception for? What’s the exact error you are seeing when you add an onError callback to the FaceLivenessDetector component?

It is recommended to use the latest version of the UI SDKs and you can find the releases here: https://github.com/aws-amplify/amplify-ui/releases

Regards,

AWS Team

AWS
con risposta 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande