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.41k stars 346 forks source link

codecatalyst: can't log in: "[error] Failed submitting credentials" #5235

Open farrerm opened 1 week ago

farrerm commented 1 week ago

Problem

Trying to login to CodeCatalyst from the vs code extension. I have an iam role with full access to codecatalyst. When I enter credentials, a box with the word "object" appears. Output tab shows error message:

2024-06-27 08:42:20.569 [info] auth: Updating connection state of temp:495f884972650811629c5fb913c55f1c017541b34fd018d36f449c21a8542694 to authenticating

2024-06-27 08:42:21.280 [info] auth: Updating connection state of temp:495f884972650811629c5fb913c55f1c017541b34fd018d36f449c21a8542694 to valid

2024-06-27 08:42:21.293 [error] Failed submitting credentials

Steps to reproduce the issue

I'm not sure how to reproduce it. I don't find any other reports of these symptoms online.

Expected behavior

I should be able to login to codecatalyst from the vscode extension.

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

justinmk3 commented 1 week ago

what is the AWS Toolkit version reported by the AWS: About command?

I have an iam role with full access to codecatalyst

To be clear, are you using IdC (Identity Center) to login to codecatalyst?

image

Can you provide the AWS Toolkit logs?

  1. In the vscode command palette, run AWS: View Logs. This reveals the Output panel with AWS Toolkit 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.