Select Language:
If you’re seeing an “AccessDeniedException: Access denied” error while using Amazon Q Developer in Visual Studio Code, it’s likely because you’re not subscribed to the Amazon Q Developer Pro service. This subscription is necessary for certain features and access.
To verify your subscription, follow these simple steps:
- Log in to your AWS access portal at https://amzn.awsapps.com/start.
- Once signed in, navigate to the “Applications” tab.
- Look through your applications for something called “QDefaultProfile.”
If you don’t find “QDefaultProfile” listed, it means you’re not currently subscribed to Amazon Q Developer Pro. In this case, you’ll need to reach out to your system administrator or the person managing AWS subscriptions in your organization to get access.
Keep in mind that if you’ve recently been added to the subscription, it might take up to 24 hours for it to activate fully.
For users on the free tier of Amazon Q Developer, you can sign in with your AWS Builder ID, which doesn’t require an AWS account. The VS Code extension supports this login method too.
Always ensure you’re entering the correct credentials when signing into the Amazon Q extension—either your IAM Identity Center credentials for the Pro version or your AWS Builder ID for the free option.
Sources for more help include:
- Troubleshoot Amazon Q Developer authentication errors in IDE
- Amazon Q Developer Pro is not accessible from VS Code Extension
- What is Amazon Q Developer?
Following these steps should help you resolve the access issue and get back to working smoothly with Amazon Q Developer.