How do I troubleshoot Amazon Q Developer authentication errors in my IDE?

3 minute read
1

I want to troubleshoot authentication errors that I receive when I use Amazon Q Developer in my integrated development environment (IDE).

Resolution

When you use Amazon Q Developer in your IDE, you might receive one of the following error messages:

  • "AccessDeniedException: Access denied"
  • "An error occurred while processing your request. This error is reported to the team automatically. We will attempt to fix it as soon as possible. Details: Your account is not authorized to make this call"
  • "Application sign in error - An error occurred while signing in to the application [Invalid callback URL]"

Troubleshoot your issue based on the error message that you received.

Before you begin, install the latest Amazon Q extension and the supported version of your IDE.

AccessDeniedException: Access denied error

When you aren't subscribed to Amazon Q Developer Pro, you receive the Access Denied error. To check whether you're subscribed, complete the following steps:

  1. Use the AWS access portal URL to sign in to your account.
  2. Choose Applications.
  3. Look for the QDefaultProfile application.

If you see the QDefaultProfile application, then you're subscribed to Amazon Q Developer Pro. If you don't see the application, then contact your administrator to subscribe.

Or, if you have access to the Amazon Q subscription console, then complete the following steps to check your subscription status:

  1. Open the Amazon Q console.
  2. Choose Subscriptions.
  3. Under Subscribed groups and users, choose Users.
  4. Check whether your username is listed.

If you're not listed, then you're not subscribed. If you're listed, then check that your subscription status is Active. If your status is Pending, then you're subscribed but billing isn't started. You're charged after you first use Amazon Q Developer Pro.

To subscribe, see Subscribe users to Amazon Q Developer Pro.

Note: When you search for a user, use the user's display name.

If your subscription status is Canceled, then resubscribe.

To resubscribe, complete the following steps:

  1. Open the Amazon Q console.
  2. Choose Subscriptions.
  3. Under Subscribed groups and users, choose Users.
  4. Select your username.
  5. Choose More Actions, and then select Resubscribe.

"An error occurred while processing your request. This error is reported to the team automatically. We will attempt to fix it as soon as possible. Details: Your account is not authorized to make this call"

If you receive the preceding error message when you try to chat with Amazon Q Developer Pro, then your subscription might not be active. After you add your username to a group, it can take up to 24 hours for your subscription to activate.

If you still receive the Account is not authorized to make this call error after 24 hours, then check whether you're subscribed.

"Application sign in error - An error occurred while signing in to the application [Invalid callback URL]"

You must sign in to the application in the same AWS Region as the Region where the AWS IAM Identity Center instance is located.

Related information

Troubleshooting Amazon Q Developer Pro subscriptions

AWS OFFICIAL
AWS OFFICIALUpdated 22 days ago