Skip to content

github authenticated non enterprise user requires profileArn #3696

@lbusch25

Description

@lbusch25

Checks

Operating system

macOS 26.2.0 (25C56)

Expected behaviour

I am able to use Kiro-cli post authentication.

Actual behaviour

Currently I am unable to use Kiro-cli post authentication due to the following error:

Kiro is having trouble responding right now: 
   0: Failed to send the request: An unknown error occurred: profileArn is required but no profiles are available. Please log in and select a profile.
   1: An unknown error occurred: profileArn is required but no profiles are available. Please log in and select a profile.

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

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

Notably, the IDE works as expected. Some key details:

  • GitHub-authenticated (non-enterprise) user
  • kiro-cli whoami works fine
  • kiro-cli chat fails with profileArn is required but no profiles are available
  • The IDE works perfectly with the same account
  • The IDE stores the profile at ~/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent/profile.json but the CLI never populates an equivalent

Steps to reproduce

Log in using GitHub SSO as a non enterprise user. The CLI should throw the listed response.

I am receiving this error after re-authentication, trying to doctor, and reinstalling the cli.

Environment

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

[q-details]
version = "1.28.2"
hash = "27868a6e6508e32a80d15e6eba2f6adbab6c2aa7"
date = "2026-03-27T00:14:48.847531Z (23h ago)"
variant = "full"

[system-info]
os = "macOS 26.2.0 (25C56)"
chip = "Apple M4 Pro"
total-cores = 12
memory = "48.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/.nvm/versions/node/v24.12.0/bin:/Users/USER/.local/bin:/opt/homebrew/opt/openjdk/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/.cargo/bin:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts"
QTERM_SESSION_ID = "9d7de98f5d3042a1b0ce438249fd8895"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.28.2"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions