STS Error in Quicksight User Based Embedding even though it has necessary permissions

Following this tutorial , Workshop Studio
when i tried to implement the same , i get below error.

Error: Lambda GetQuickSightResponse.handler function:After getting env vars: checkTokenValidity function:In STS block: An error occurred (AccessDenied) when calling the AssumeRoleWithWebIdentity operation: Not authorized to perform sts:AssumeRoleWithWebIdentity.

Nikhil R
@nikhilrr

Hi,

Please check your user role and rights

@Naveed ,
Hi ,
Yeah i have added the roles and permissions correctly.
But still same error.

Hi,

it’s good to use the admin account. we were faced the same. But using the admin it is get fixed.

Problem solved,
I changed the STS Token Authentication from API Call based to Lambda based Local STS Token authentication with the help of Cognito.

1 Like