Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

profileArn is required but could not be resolved

Open parthibantvsmotor opened this issue 7 months ago • 27 comments

Before opening, please confirm:

Operating System

win32

Kiro Version

0.11.131

Bug Description

throwing profile arn required error though i try to reload the kiro window

Steps to Reproduce

just open kiro and try sign in models are not visible the kiro units used are not visible prompt is not giving the output

Image

Expected Behavior

once i login the models, kiro units , name everything must be visible

Image

Conversation ID

5b41542b-ccf9-40e9-bc6c-04ab8618ebf2

Additional Context

No response

parthibantvsmotor avatar Apr 17 '26 07:04 parthibantvsmotor

šŸ¤– Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ā° This issue will be automatically closed in 3 days
  • šŸ·ļø If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with šŸ‘Ž to this message.
  • šŸ’¬ Comment on the original issue if you have additional information

Why is this marked as duplicate? Both report authentication/login issues on Windows with models not being visible and similar error symptoms, though one mentions 'Invalid model' and the other 'profileArn required'

github-actions[bot] avatar Apr 17 '26 07:04 github-actions[bot]

its not a duplicate its a new issue

parthibantvsmotor avatar Apr 17 '26 07:04 parthibantvsmotor

Thank you for your feedback! šŸ™

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Apr 17 '26 07:04 github-actions[bot]

Same issue here

forlayo avatar Apr 17 '26 11:04 forlayo

I'm having the same issue with kiro-cli

mowamed avatar Apr 17 '26 12:04 mowamed

I have the same error in version 0.11.132

alantt2025 avatar Apr 20 '26 10:04 alantt2025

I also see this error on version: 0.11.132

jsquantarra avatar Apr 21 '26 01:04 jsquantarra

I'm having the same issue with kiro-cli version 2.0.1-1

mowamed avatar Apr 21 '26 13:04 mowamed

Same error with kiro-cli but works fine with kiro. Fails since today for kiro-cli.

kiro-cli --version
kiro-cli 2.0.1
kiro-cli doctor

ā— Autocomplete is not yet available on Linux, but other products should work as expected.
āœ” Everything looks good!
Kiro is having trouble responding right now: 
   0: Failed to send the request: An unknown error occurred: ValidationException
   1: An unknown error occurred: ValidationException
   2: unhandled error (ValidationException)
   3: service error
   4: unhandled error (ValidationException)
   5: Error { code: "ValidationException", message: "profileArn is required for this request.", aws_request_id: "59e51ed5-9abb-4e1e-b084-db7daa0b174d" }

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

   BACKTRACE 
                                 5 frames hidden                                
   6: chat_cli::cli::chat::ChatSession::next::{{closure}}::hea50ce7ec6a48d2a
      at /home/runner/work/kiro-cli/kiro-cli/crates/chat-cli/src/cli/chat/mod.rs:1717
   7: chat_cli::cli::chat::ChatSession::spawn::{{closure}}::h6eb062717cf2ec8f
      at /home/runner/work/kiro-cli/kiro-cli/crates/chat-cli/src/cli/chat/mod.rs:2308
   8: chat_cli::cli::chat::ChatArgs::execute::{{closure}}::h6375eb82b97dea56
      at /home/runner/work/kiro-cli/kiro-cli/crates/chat-cli/src/cli/chat/mod.rs:794
   9: chat_cli::cli::RootSubcommand::execute::{{closure}}::hfd5a46cb96c97f99
      at /home/runner/work/kiro-cli/kiro-cli/crates/chat-cli/src/cli/mod.rs:381
  10: chat_cli::cli::Cli::execute::{{closure}}::h1b09fbf795e21f49
      at /home/runner/work/kiro-cli/kiro-cli/crates/chat-cli/src/cli/mod.rs:523
  11: <core::pin::Pin<P> as core::future::future::Future>::poll::h8685a8f099d19580
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/future/future.rs:133
  12: tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h6857067af764f42f
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/park.rs:284
  13: tokio::task::coop::with_budget::h091555ef8ebde259
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/task/coop/mod.rs:167
  14: tokio::task::coop::budget::hf9273afec1176cc3
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/task/coop/mod.rs:133
  15: tokio::runtime::park::CachedParkThread::block_on::h046c88c6c5027810
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/park.rs:284
  16: tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h3ecf05a001061bd3
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/context/blocking.rs:66
  17: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h337bc800352739d3
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/scheduler/multi_thread/mod.rs:92
  18: tokio::runtime::context::runtime::enter_runtime::h5e0a375eb45ecc8d
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/context/runtime.rs:65
  19: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::ha959ad1396ee91dc
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/scheduler/multi_thread/mod.rs:91
  20: tokio::runtime::runtime::Runtime::block_on_inner::hc5ac80eced1ee70f
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/runtime.rs:373
  21: tokio::runtime::runtime::Runtime::block_on::hbfbd877ee72e51dd
      at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.0/src/runtime/runtime.rs:343
  22: chat_cli::main_inner::hceeaf03cce683075
      at /home/runner/work/kiro-cli/kiro-cli/crates/chat-cli/src/main.rs:63
  23: core::ops::function::FnOnce::call_once::ha3f37e668be570ac
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/ops/function.rs:250
  24: std::sys::backtrace::__rust_begin_short_backtrace::hacf14a28cb7a03d5
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/sys/backtrace.rs:158
  25: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::he5d66f008adfb630
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/thread/mod.rs:562
  26: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4a7d3beb40918013
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/panic/unwind_safe.rs:274
  27: std::panicking::catch_unwind::do_call::hf6d044fa30f91fad
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/panicking.rs:590
  28: std::panicking::catch_unwind::h42b420f7e255cf3c
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/panicking.rs:553
  29: std::panic::catch_unwind::he8c8a690ee227492
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/panic.rs:359
  30: std::thread::Builder::spawn_unchecked_::{{closure}}::h1ad82bcfebf0dfb6
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/thread/mod.rs:560
  31: core::ops::function::FnOnce::call_once{{vtable.shim}}::h2b0f542c6aa44c21
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/core/src/ops/function.rs:250
  32: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hbc67be0d9233d09e
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/alloc/src/boxed.rs:2005
  33: std::sys::thread::unix::Thread::new::thread_start::h4637f1bfded3ea68
      at /rustc/ded5c06cf21d2b93bffd5d884aa6e96934ee4234/library/std/src/sys/thread/unix.rs:126
  34: start_thread<unknown>
      at ./nptl/pthread_create.c:447
  35: clone3<unknown>
      at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

Makoehle avatar Apr 22 '26 12:04 Makoehle

I'm having the same issue with kiro in windows

MWPROD11 avatar Apr 22 '26 17:04 MWPROD11

Same error with kiro-cli but works fine with kiro. Fails since today for kiro-cli.

kiro-cli --version
kiro-cli 2.0.1

...

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

I do not have this issue anymore. Resolved by today without any update of the tool 🤷

Makoehle avatar Apr 23 '26 18:04 Makoehle

@Makoehle

I'm still stuck in this exact loop with Kiro on Windows. My AWS subscription status is shown as "Pending" in the console , and even after correctly assigning my user and groups to the Kiro applications, the state won't flip to "Active."I've tried clearing the kiro-auth-token.json cache multiple times , but I keep getting the profileArn is required but could not be resolved error in my extension logs. It seems the extension is failing to register basic commands like kiro.reloadConfig because it can't validate the Pro identity. I'm also unable to select models, so the account feels completely frozen.Since you mentioned it resolved itself, did it truly happen "by magic" overnight, or did you have to contact AWS support or perform an additional manual sync in the IAM Identity Center? I’m trying to determine if there's a specific trigger I'm missing or if I just need to wait out the AWS backend propagation.

MWPROD11 avatar Apr 23 '26 18:04 MWPROD11

After changing the group subscription method to individual user subscriptions, it now works properly. I'm not sure if this was the actual cause, but it has resolved my issue for now.

lvtujingji avatar Apr 24 '26 07:04 lvtujingji

Thank you all for reporting this and for the additional context provided in the thread. We have noted this issue and will investigate it on our side. We will keep you updated here once we have more information or a resolution available. Appreciate your patience!

AnilMaktala avatar Apr 30 '26 14:04 AnilMaktala

Image when will it be resolved?

ysu03zyy avatar May 08 '26 10:05 ysu03zyy

I was having the same issue. I used a private window to authenticate with Kiro and it worked. I think it's a cache issue.

Hamza1nas avatar May 10 '26 04:05 Hamza1nas

Same issue here, extremely disappointed... Tried to sign out, clear related AWS and Kiro cookies, and sign in again. Same profileArn thing

lememaxi avatar May 12 '26 10:05 lememaxi

Facing the same issue. Version: 0.12.184 (user setup) VSCode Version: 1.107.1 Commit: 8971b963336635bcb23572df7df5b1193504d739 Date: 2026-05-12T06:20:57.251Z Electron: 39.6.0 Chromium: 142.0.7444.265 Node.js: 22.22.0 V8: 14.2.231.22-electron.0 OS: Windows_NT x64 10.0.26200

bmeunier-coveo avatar May 13 '26 13:05 bmeunier-coveo

BTW, for me, it was auto-fixed yesterday after several hours. Probably, some sort of cache issue...

lememaxi avatar May 13 '26 14:05 lememaxi

We are having the same issue. Just wondering if this has been resolved or workaround?

racingvi avatar May 18 '26 07:05 racingvi