amazon-q-developer-cli icon indicating copy to clipboard operation
amazon-q-developer-cli copied to clipboard

Amazon Q is having trouble responding right now

Open benoitMariaux opened this issue 1 year ago • 5 comments

Checks

Operating system

macOS 15.4.0 (24E248)

Expected behaviour

Not having this error :

`Amazon Q is having trouble responding right now: 0: unhandled error (ValidationException) 1: service error 2: unhandled error (ValidationException) 3: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "c9b7d8ec-5a4c-4781-bb4e-730ef2203cf0" }

Location: crates/q_cli/src/cli/chat/mod.rs:668

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.`

Actual behaviour

`Amazon Q is having trouble responding right now: 0: unhandled error (ValidationException) 1: service error 2: unhandled error (ValidationException) 3: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "c9b7d8ec-5a4c-4781-bb4e-730ef2203cf0" }

Location: crates/q_cli/src/cli/chat/mod.rs:668

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.`

Steps to reproduce

it happens randomly

Environment

<This will be visible to anyone. Do not include personal or sensitive information>

[q-details]
version = "1.7.3"
hash = "3e4ae79d371315e80ddac772b43fff2cba314104"
date = "2025-04-10T05:48:16.435186Z (12d ago)"
variant = "full"

[system-info]
os = "macOS 15.4.0 (24E248)"
chip = "Apple M1"
total-cores = 8
memory = "16.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "unknown"

[env-vars]
PATH = "/opt/homebrew/opt/node@20/bin:/Users/USER/.pyenv/plugins/pyenv-virtualenv/shims:/Users/USER/.pyenv/shims:/Users/USER/.pyenv/bin:/Users/USER/bin:/usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin"
QTERM_SESSION_ID = "35283d7cc58d4b43a28f37cfca58dbe7"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.7.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"

benoitMariaux avatar Apr 22 '25 15:04 benoitMariaux

I'm having the same issue as well

Amazon Q is having trouble responding right now:
   0: unhandled error (ValidationException)
   1: service error
   2: unhandled error (ValidationException)
   3: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "ce322dff-50f2-4f65-8602-b405916bdd51" }

Location:
   crates/q_cli/src/cli/chat/mod.rs:668

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

chris-trag avatar Apr 22 '25 17:04 chris-trag

Same issue:

`🟢 Completed in 0.0s Amazon Q is having trouble responding right now: 0: unhandled error (ValidationException) 1: service error 2: unhandled error (ValidationException) 3: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "92d9351c-6d63-4207-a02c-6ebd136bc9a1" }

Location: crates/q_cli/src/cli/chat/mod.rs:409

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.`

jkmaina avatar Apr 22 '25 20:04 jkmaina

+1, been happening since 1.7.2 I believe

Amazon Q is having trouble responding right now:
   0: unhandled error (ValidationException)
   1: service error
   2: unhandled error (ValidationException)
   3: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "9842f790-e9c5-4d43-894e-2fcbd2cfc423" }

Location:
   crates/q_cli/src/cli/chat/mod.rs:927

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Also seeing this since the latest 1.8 release, not sure if related:

⚠️ This conversation is getting lengthy.
To ensure continued smooth operation, please use /compact to summarize the conversation.

> /compact

Conversation too short to compact.


⚠️ This conversation is getting lengthy.
To ensure continued smooth operation, please use /compact to summarize the conversation.

>

derlopes-amzn avatar Apr 24 '25 22:04 derlopes-amzn

+1 I'm seeing the same issue, though the location is different:

Amazon Q is having trouble responding right now:
   0: unhandled error (ValidationException)
   1: service error
   2: unhandled error (ValidationException)
   3: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "bba59b88-8c12-4688-a738-7c20682d5335" }

Location:
   /private/tmp/788abf33-519d-4264-918b-e563eeb425ff/crates/q_chat/src/lib.rs:1015

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

saulthebear avatar May 01 '25 01:05 saulthebear

+1 i'm seeing the same issue

🛠️  Using tool: use_aws (trusted)
 ⋮
 ● Running aws cli command:

Service name: s3
Operation name: ls
Parameters:
- : "s3://<bucket_name>/restore/ --recursive"
Profile name: <my_profile>
Region: ap-southeast-3
Label: List contents of s3://<bucket_name>/restore/ ⋮
 ● Execution failed after 1.212s:



Amazon Q is having trouble responding right now:
   0: Failed to send the request: unhandled error (ValidationException)
   1: unhandled error (ValidationException)
   2: service error
   3: unhandled error (ValidationException)
   4: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "ad8a3a05-0391-41b9-b591-a499102b9c0f" }

Location:
   crates/chat-cli/src/cli/chat/mod.rs:1074

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

dedyks avatar Oct 30 '25 14:10 dedyks