Validation Exception using FacelivenessDetection

0

Greating, I've been developing an liveness detection on React. I followed all the instruction in doc and videos from AWS. Finally I deploy successfully my backEnd, but in my front at the moment doing the detection with the component FaceLivenessDetector, it always throws me

{
    "state": "SERVER_ERROR",
    "error": {
        "name": "ValidationException",
        "$fault": "client",
        "$metadata": {},
        "message": "Your account isn't authorized to call this operation. Please check account permissions"
    }
}

I validated my aws-export after execute amplify commands

const awsmobile = {
    "aws_project_region": "us-east-1",
    "aws_cognito_identity_pool_id": "us-east-1:234a70c5-50#######",
    "aws_cognito_region": "us-east-1",
    "aws_user_pools_id": "us-east-1_tcgWD####",
    "aws_user_pools_web_client_id": "30i3fjd3adsl####",

The identity_pool exits and allows Guest access

EPool identity exits

Enable Guest Access

and finally I added the inline policy to the unAuthRole

Role policy

Even though I set the role policy , I couldn't starLivenessSession with the component It threw me the same error.

Error on React App

Do I missing an step or something?,

That also happens in the Demo too in my account. With this in mind I supposes It's a permission in my general account.

Introduce la descripción de la imagen aquí

gefragt vor 8 Monaten105 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen