aws / aws/amazon-q-developer-cli
When I first login, an error occurred.
- 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
Linux 6.11.0-28-generic - Ubuntu 24.04.2 LTS
### Expected behaviour
chat normal
### Actual behaviour
Amazon Q is having trouble responding right now:
0: unhandled error (AccessDeniedException)
1: service error
2: unhandled error (AccessDeniedException)
3: Error { code: "AccessDeniedException", message: "Your account is not authorized to make this call.", aws_request_id: "cd4c7c1e-8143-4da5-934b-0be9dc5d6f89" }
Location:
crates/chat-cli/src/cli/chat/mod.rs:782
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
### Steps to reproduce
_No response_
### Environment
```yaml
[q-details]
version = "1.12.2"
hash = "b9100eb751546269f095585705a0e7fc3ea55419"
date = "2025-06-30T22:39:39.427361Z (11h ago)"
variant = "minimal"
[system-info]
chip = "12th Gen Intel(R) Core(TM) i5-12400"
total-cores = 6
memory = "15.36 GB"
[system-info.os.linux]
kernel_version = "6.11.0-28-generic"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 24.04.2 LTS"
version_id = "24.04"
version = "24.04.2 LTS (Noble Numbat)"
[environment]
cwd = "/home/USER"
cli-path = "/home/USER"
os = "Linux"
shell-path = "/usr/bin/bash"
shell-version = "5.2.21"
terminal = "Gnome Terminal"
install-method = "unknown"
[env-vars]
DISPLAY = ":1"
PATH = "/home/USER/.nvm/versions/node/v22.15.0/bin:/home/USER/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/USER/.local/bin"
QTERM_SESSION_ID = "4eded187c010442d88bab3a85cdaf35b"
QT_IM_MODULE = "ibus"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.2"
SHELL = "/bin/bash"
TERM = "xterm-256color"
XDG_CURRENT_DESKTOP = "ubuntu:GNOME"
XDG_SESSION_DESKTOP = "ubuntu"
XDG_SESSION_TYPE = "x11"
XMODIFIERS = "@im=ibus"
```
Contributor guide
Assessment
This issue has not been assessed yet.