Skip to content

TypeError when attempting to Generate Fix from Review Details #7743

@schoemme

Description

@schoemme

Problem

When attempting to generate a fix from the Amazon Q Review Details view, receiving a TypeError indicating an invalid path argument.

Steps to reproduce the issue

  1. Start a /review command in VSCode
  2. Right-click on an inconsistent issue
  3. Select "Amazon Q: View Details"
  4. Click the "Generate Fix" button

Receiving error: [error] aws.amazonq.generateFix: TypeError: The "path" argument must be of type string. Received undefined [ERR_INVALID_ARG_TYPE]

Expected behavior:

The Generate Fix button should create a fix for the selected issue without throwing a path-related error.

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

OS: Darwin arm64 24.5.0
Visual Studio Code extension host: 1.102.2
Amazon Q: 1.85.0
node: 22.15.1
electron: 35.6.0

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