aws / aws-toolkit-vscode

Amazon Q, CodeCatalyst, Local Lambda debug, SAM/CFN syntax, ECS Terminal, AWS resources
https://marketplace.visualstudio.com/items?itemName=AmazonWebServices.amazon-q-vscode
Apache License 2.0
1.46k stars 397 forks source link

amazon q Chat feature does not work: "An error occurred while processing your request" #5331

Open robertstudyintern opened 1 month ago

robertstudyintern commented 1 month ago

Problem

Chat feature does not work

Steps to reproduce the issue

Expected behavior

Respond with an actual AI generated response

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

justinmk3 commented 1 month ago

Can you provide the Amazon Q logs?

  1. In the vscode command palette, run Amazon Q: View Logs. This reveals the Output panel with Amazon Q Logs selected.
  2. Click the gear icon and choose Debug, then click it again and choose Set As Default.
  3. Perform the steps to reproduce the issue.
  4. Remove any private info from the logs.
Will-ShaoHua commented 1 month ago

hey @robertstudyintern, thanks for reporting, as Justin mentioned, could you share with us your debug logs specifically we need your request ids to trouble shoot the issue. However this error is possibly threw due to guardrails, could you also try chat with different prompts or files?