When I generate embedded Amazon Quick Suite dashboard URLs for unregistered users, I receive permission and configuration errors.
Resolution
Resolve the "AccessDeniedException" error
You receive the following error message when you generate embedded Quick Suite dashboard URLs for unregistered users:
"An error occurred (AccessDeniedException) when calling the GenerateEmbedUrlForAnonymousUser operation."
The AWS Identity and Access Management (IAM) user or role that the backend or web server uses must have the correct permission. Otherwise, you can't generate an embedded Quick Suite dashboard URL for unregistered users.
To resolve this error, attach the following AWS Identity and Access Management (IAM) policy to the IAM user or role that calls the GenerateEmbedUrlForAnonymousUser API:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "quicksight:GenerateEmbedUrlForAnonymousUser",
"Resource": [
"arn:aws:quicksight:REGION:AWS Account ID:namespace/namespace",
"arn:aws:quicksight:REGION:AWS Account ID:dashboard/Dashboard ID"
]
}
]
}
Note: Replace REGION with your AWS Region, AWS Account ID with your account ID, namespace with your Quick Suite namespace, and Dashboard ID with your dashboard ID.
Resolve the "UnsupportedPricingPlanException" error
You receive the following error message when you embed the Quick Suite dashboard URL for unregistered user and session capacity pricing isn't active:
"An error occurred (UnsupportedPricingPlanException) when calling the GenerateEmbedUrlForAnonymousUser operation."
To resolve this error, activate session capacity pricing for your Quick Suite account.
Complete the following steps:
- Open the Quick Suite console.
- Choose your user name on the application bar and then choose Manage Quick Suite.
- In the navigation pane under Subscriptions, choose Manage subscriptions.
- For Readers, choose Switch Plan.
- For Monthly capacity, choose See Monthly Plan.
- Under Subscribe to the monthly plan, next to Session capacity pricing, choose Confirm subscription.
For more information about capacity pricing plans, see pricing model for Quick Sight.
Related information
How do I troubleshoot AWS resource permission errors in Quick Suite?
Embedding Amazon Quick Suite dashboards for anonymous (unregistered) users