aws / aws/amazon-q-developer-cli

Authentication failed

Open
#3,689 0 comments 2 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 26.3.1 (25D771280a)

### Expected behaviour

normal chat should continue once q chat or kiro-cli chat is typed in terminal,

### Actual behaviour

"Authentication failed. Your session may have expired. Run `kiro-cli login` to re-authenticate."

this is what's happening when chatting, even after logging out and then logging in

### Steps to reproduce

q chat

### Environment

```yaml

[q-details]
version = "1.28.1"
hash = "fc92565d6f51c1708e92500b2b2bcc4a424f5705"
date = "2026-03-21T05:23:50.031438Z (6d ago)"
variant = "full"

[system-info]
os = "macOS 26.3.1 (25D771280a)"
chip = "Apple M2"
total-cores = 8
memory = "8.00 GB"

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

[env-vars]
DISPLAY = "/private/tmp/com.apple.launchd.o1hY4ofPyM/org.xquartz:0"
PATH = "/Users/USER/.antigravity/antigravity/bin:/Users/USER/.antigravity/antigravity/bin:/Users/USER/.antigravity/antigravity/bin:/Users/USER/.antigravity/antigravity/bin:/Users/USER/.antigravity/antigravity/bin:/Users/USER/.antigravity/antigravity/bin:/Users/USER/.antigravity/antigravity/bin:/Users/USER/.antigravity/antigravity/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/pmk/env/global/bin:/opt/X11/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "9e204dfbc5064be2aef529c392338be2"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.28.1"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```

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.