aws / aws/aws-toolkit-vscode

Unexpected token < in JSON at position 0

Open
#7,955 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
Hit error "Unexpected token < in JSON at position 0"

## Steps to reproduce the issue

## Expected behavior
Generate Java code

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

- OS: Windows 11 23H2
- Visual Studio Code version: 1.88.1
- AWS Toolkit version: 3.72.0
- Amazon Q version: 1.91.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the request in VS Code's Amazon Q Open chat panel on the listed Windows, VS Code, AWS Toolkit, and Amazon Q versions, then trace the response associated with the JSON parse error. Done means the example request generates Java code without the error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.