I want to troubleshoot the "Permissions needed. Please check your permissions. 403 Forbidden" error that I receive when I try to access my Amazon Q Business web experience.
Resolution
The 403 Forbidden error can occur for the following reasons:
- The subscription that you assigned to your user or group isn't active.
- Your AWS Identity and Access Management (IAM) role doesn't have the correct permissions for the web experience.
Check user subscription status
Complete the following steps:
- Open the Amazon Q Business console.
- In the navigation pane, choose Applications, and then select the name of your application.
- On the Application details page, under User access, choose Manage user access.
- Choose the Groups and Users tab.
- Find your user and check that the subscription status is Active.
Note: If your user isn't listed, then add your user to your AWS IAM Identity Center instance and grant the user access to Amazon Q Business.
- If your user doesn't have an active subscription, then choose Add groups and users.
- In the Confirm subscription change window, select the subscription level, and then choose Done.
- From the user account, relaunch the web experience.
Add a user to your IAM Identity Center instance and grant access to Amazon Q Business
You must have permissions to access your IAM Identity Center instance. If you're using Amazon Q Business in a member account, then the IAM Identity Center instance might be in a different organization in AWS Organizations. You must have access to the organization to add an Amazon Q Business subscription.
To add a user, complete the following steps:
- Open the IAM Identity Center console.
- In the navigation pane, choose Groups, and then select your group name.
- Choose Add users to group, and then select the user.
Note: If no users are available to add, then you must add users to your Identity Center directory.
Note: It can take up to 24 hours for your change to take effect.
Check that your web experience IAM role has the correct permissions
Complete the following steps:
- Open the Amazon Q Business console.
- In the navigation pane, choose Applications, and then select the name of your application.
- On the Application details page, under Web experience settings, note the web experience role name.
- Open the IAM console.
- In the navigation pane, choose Roles.
- Enter your role name in the search bar, and then select your role.
- If you configured your application with IAM Identity Center, then confirm that your role includes the required permissions and trust policies for the web experience.
-or-
If you configured your application with IAM Federation, then confirm that your role includes the required permissions and trust policies for the web experience.
- Relaunch the web experience.