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í

已提問 8 個月前檢視次數 105 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南