aws / aws/aws-toolkit-vscode

Webview Error Authenticating In Amazon Q

Open
#8,404 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem

AWS Authentication fails with stackblitz.com GitHub integration setup.

## Steps to reproduce the issue

1. Go to Amazon Q Extension: 'Choose a sign-in option' menu
2. Click on 'Personal account', then click "continue"
3. See error in the log.
Notably the "workspace deletion failed" warning confuses me, as I did not even trigger a workspace deletion request:

[2025-12-09 19:14:21.453] [Amazon Q Logs] [info] [Error - 7:14:21 PM] [2025-12-09T18:14:21.391Z] lserver: Vector library failed to initialize:TypeError: Failed to fetch dynamically imported module: https://2dtagging-odhw.w-credentialless-staticblitz.com/home/.stackblitz/extensions/amazonwebservices.amazon-q-vscode-1.106.0-universal/resources/language-server/servers/indexing/dist/extension.js
[2025-12-09 19:14:26.246] [Amazon Q Logs] [info] [Info - 7:14:26 PM] [2025-12-09T18:14:26.195Z] lserver: Logging level changed to info
[2025-12-09 19:14:26.247] [Amazon Q Logs] [info] [Warn - 7:14:26 PM] [2025-12-09T18:14:26.207Z] lserver: No remote workspaceId found, skipping workspace deletion
[2025-12-09 19:14:26.293] [Amazon Q Logs] [info] [Info - 7:14:26 PM] [2025-12-09T18:14:26.273Z] lserver: Vector library initializing with GPU acceleration: false, index worker thread count: 0

## Expected behavior

AWS Authentication, I assume.

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

Amazon Q: About Output

- OS: Linux x64 5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
- Visual Studio Code extension host: 1.84.0
- Amazon Q: 1.106.0
- node: 20.19.1

Contributor guide

Open the contributing guide

Research direction

Start from the Amazon Q Extension “Choose a sign-in option” menu and reproduce the Personal account flow in the StackBlitz GitHub integration. Investigate the logged dynamic-module fetch failure and confirm that AWS authentication succeeds without an unrelated workspace-deletion warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript, vscode
Domain
authentication, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.