Skip to content

AccessDeniedException Exception is occuring when connecting Amazon Q in VS Code #7563

Open
@amitmalviya-powerschool

Description

Problem

AccessDeniedException when trying to connect Amazon Q in Visual Studio Code

Steps to reproduce the issue

Expected behavior

It should connect successfully

System details (run AWS: About and/or Amazon Q: About)

Note : Able to connect the AWS Toolkit extension

  • OS: Win 11
  • Visual Studio Code version:1.101.2
  • AWS Toolkit version:3.67.0
  • Amazon Q version:1.79.0

[error] API response (oidc.us-east-1.amazonaws.com /token): {
name: 'AccessDeniedException',
'$fault': 'client',
'$metadata': {
httpStatusCode: 400,
requestId: '4dc8bf48-cfad-4d7a-8bcd-ffdb07dd4fd8',
extendedRequestId: undefined,
cfId: undefined
},
error: 'access_denied',
error_description: 'Access denied',
reason: null,
message: 'UnknownError'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions