-
Notifications
You must be signed in to change notification settings - Fork 396
Description
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctorin the affected terminal session - I have run
q restartand replicated the issue again
Operating system
macOS 26.2.0 (25C56)
Expected behaviour
open
Actual behaviour
Kiro is having trouble responding right now:
0: Failed to send the request: An unknown error occurred: AccessDeniedException
1: An unknown error occurred: AccessDeniedException
2: unhandled error (AccessDeniedException)
3: service error
4: unhandled error (AccessDeniedException)
5: Error { code: "AccessDeniedException", message: "The bearer token included in the request is invalid.", aws_request_id: "11832ff7-eb6b-4ee2-8b2b-b8212e4c368e" }
Location:
crates/chat-cli/src/cli/chat/mod.rs:1426
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
kiro-cli doctor
Kiro is having trouble responding right now:
0: Failed to send the request: An unknown error occurred: AccessDeniedException
1: An unknown error occurred: AccessDeniedException
2: unhandled error (AccessDeniedException)
3: service error
4: unhandled error (AccessDeniedException)
5: Error { code: "AccessDeniedException", message: "The bearer token included in the request is invalid.", aws_request_id: "2c05ba97-52fc-47a9-a9ca-d4b2291e46b3" }
Location:
crates/chat-cli/src/cli/chat/mod.rs:1426
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
kiro-cli restart
Kiro is having trouble responding right now:
0: Failed to send the request: An unknown error occurred: AccessDeniedException
1: An unknown error occurred: AccessDeniedException
2: unhandled error (AccessDeniedException)
3: service error
4: unhandled error (AccessDeniedException)
5: Error { code: "AccessDeniedException", message: "The bearer token included in the request is invalid.", aws_request_id: "85228248-da8b-402d-9b05-cbc17d31e457" }
Location:
crates/chat-cli/src/cli/chat/mod.rs:1426
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Steps to reproduce
$ kiro-cli
open
this error appears
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "1.23.1"
hash = "faddc2c7ee17078025a62a8dfad6543a4154d2fa"
date = "2025-12-23T20:47:25.898591Z (13d ago)"
variant = "full"
[system-info]
os = "macOS 26.2.0 (25C56)"
chip = "Apple M1 Pro"
total-cores = 10
memory = "32.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.rvm/gems/ruby-3.1.0/bin:/Users/USER/.rvm/gems/ruby-3.1.0@global/bin:/Users/USER/.rvm/rubies/ruby-3.1.0/bin:/Users/USER/.local/state/fnm_multishells/3053_1767649171903/bin:/opt/homebrew/bin:/opt/homebrew/opt/ruby/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:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:/Users/USER/.local/bin:/Users/USER/.toolbox/bin:/Users/USER/.rvm/bin:/Users/USER/.local/bin"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"