aws / aws/amazon-q-developer-cli

q chat cli stopped responding with error messages

Open
#1,273 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.3.2 (24D81)

### Expected behaviour

I expect q chat cli to continue providing response until complete

### Actual behaviour

q chat cli provided incomplete response with these errors
mazon Q is having trouble responding right now:
0: Failed to receive the next message: request_id: 41c185e0-2aa0-4013-8845-faa001ea0818, error: InternalServerError: Encountered an unexpected error when processing the request, please try again.
1: Failed to receive the next message: request_id: 41c185e0-2aa0-4013-8845-faa001ea0818, error: InternalServerError: Encountered an unexpected error when processing the request, please try again.
2: InternalServerError: Encountered an unexpected error when processing the request, please try again.
3: InternalServerError: Encountered an unexpected error when processing the request, please try again.
4: service error
5: InternalServerError: Encountered an unexpected error when processing the request, please try again.
6: InternalServerError: Encountered an unexpected error when processing the request, please try again.

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

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

### Steps to reproduce

start q chat cli and interact with it with the pdd script in AmazonBuilderGenAIPowerUsersQContext package

### Environment

```yaml

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

[system-info]
os = "macOS 15.3.2 (24D81)"
chip = "Apple M3 Pro"
total-cores = 12
memory = "36.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]
DISPLAY = "/private/tmp/com.apple.launchd.W2lpXaQ7tp/org.xquartz:0"
PATH = "/Users/USER/.nvm/versions/node/v16.20.2/bin:/Users/USER/bin:/Users/USER/.local/bin:/Users/USER/.toolbox/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:/opt/X11/bin:/usr/local/zfs/bin:/Users/USER/.cargo/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "5a2ac2e98b654a61b8c1328832c0d044"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.7.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.