Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

An unexpected error occurred, please retry.

Open ranjansoni opened this issue 1 year ago • 6 comments

Before opening, please confirm:

Operating System

darwin

Kiro Version

0.2.68

Bug Description

No matter what I do or what I ask, I keep getting this error: An unexpected error occurred, please retry. I have tried everything including reinstalling the app but the error doesn't go away. This was working fine till yesterday and suddenly started giving this error. I upgraded to a paid plan too but didn't make any difference.

Here is my log: {"KiroClientVersion":"0.2","machineId":"d352b76abefec268dc9c0b5177789cc9bb158068dca983f460f4b2a9f598a972","platform":"darwin-24.6.0","channel":"stable","version":"0.2.68"} 2025-09-26 14:05:13.402 [info] [notification-service] Registered and subscribed to agent events 2025-09-26 14:05:13.402 [info] [agent-event-polling] Service created {"command":"kiro.usageLimits.getUsageLimits","intervalMs":300000,"aggregationDelayMs":120000} 2025-09-26 14:05:13.402 [info] [agent-event-polling] Service registered successfully 2025-09-26 14:05:13.402 [info] [storage] Initialized storage at '/Users/ranjansoni/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent/1144c7b5752c2c7d08a3e470c2549c7f' 2025-09-26 14:05:13.402 [info] [FirstTimeProject] Project has been opened before in Kiro 2025-09-26 14:05:13.402 [info] Congratulations, "Kiro" is now active! 2025-09-26 14:05:13.402 [info] Trying to clear 0 stuck executions [] 2025-09-26 14:05:16.241 [info] Docs indexing completed 2025-09-26 14:05:17.119 [info] [RepoMapIndex] Starting initial indexing... 2025-09-26 14:05:17.119 [info] [RepoMapIndex] Finding files in workspace folder: deadstock-marketplace 2025-09-26 14:05:17.134 [info] [RepoMapIndex] Found 1900 files in deadstock-marketplace 2025-09-26 14:05:17.138 [info] [RepoMapIndex] Found 1900 files to index 2025-09-26 14:05:17.899 [info] [RepoMapIndex] Progress: 26% (500/1900 files) 2025-09-26 14:05:18.616 [info] [RepoMapIndex] Progress: 53% (1000/1900 files) 2025-09-26 14:05:19.175 [info] [RepoMapIndex] Progress: 79% (1500/1900 files) 2025-09-26 14:05:20.101 [info] [RepoMapIndex] Operation completed in 2.98s 2025-09-26 14:05:31.537 [info] [agent-controller] Triggered new agent: chat-agent (autonomyMode=Autopilot) 2025-09-26 14:05:31.537 [info] [agent-event-polling] Polling started {"intervalMs":300000} 2025-09-26 14:05:31.553 [info] [AgentIterator] Checking for intent overrides 2025-09-26 14:05:33.214 [info] [agent-event-polling] Polling stopped 2025-09-26 14:05:33.214 [info] [agent-controller] Progressing model queue {"activeExecution":false,"queueSize":0} 2025-09-26 14:05:33.214 [info] [agent-controller] Triggered new agent: spec-generation (autonomyMode=Autopilot) 2025-09-26 14:05:33.214 [info] [agent-controller] Progressing model queue {"activeExecution":false,"queueSize":1} 2025-09-26 14:05:33.214 [info] [agent-event-polling] Polling started {"intervalMs":300000} 2025-09-26 14:05:33.214 [info] [agent-controller] Progressing model queue {"activeExecution":true,"queueSize":0} 2025-09-26 14:05:33.219 [info] [agent-event-polling] Polling stopped 2025-09-26 14:05:33.220 [info] [agent-controller] Progressing model queue {"activeExecution":true,"queueSize":0} 2025-09-26 14:05:33.221 [info] [Steering] Populating steering for execution ad4ac5ad-df55-4bc6-af83-43b8ba5ac2ee 2025-09-26 14:05:33.221 [info] [Steering] ExistingFiles: src/api/chatApi.ts, src/services/chatApi.ts, src/pages/Chat.tsx, src/api/chatApi.ts, src/services/chatApi.ts, src/pages/Chat.tsx, src/services/chatApi.ts, src/redux/chatSlice.ts, src/redux/chatSlice.ts, src/services/chatApi.ts, src/pages/Chat.tsx, src/pages/Chat.tsx, src/services/chatApi.ts, src/services/chatApi.ts, src/redux/chatSlice.ts in ad4ac5ad-df55-4bc6-af83-43b8ba5ac2ee 2025-09-26 14:05:33.253 [info] [Tool agent Action] setup node 2025-09-26 14:05:33.258 [info] [AgentIterator] Invoking agent 2025-09-26 14:05:33.307 [info] [ChatFile] Wrote chat file {"path":"/Users/ranjansoni/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent/1144c7b5752c2c7d08a3e470c2549c7f/fd0548ccc0a12541547b613848b8e1c7.chat"} 2025-09-26 14:05:36.647 [error] Failed to stream response chunks Improperly formed request. 2025-09-26 14:05:36.654 [error] ValidationException: Improperly formed request. at de_ValidationExceptionRes (/Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:577046:25) at de_CommandError10 (/Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:576925:23) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:516888:24 at async /Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:505832:22 at async /Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:518353:42 at async /Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:572486:26 at async QDeveloperConverse._streamResponseChunks (/Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:692517:28) at async QDeveloperConverse._streamIterator (/Volumes/Kiro 1/Kiro.app/Contents/Resources/app/extensions/kiro.kiro-agent/dist/extension.js:661161:30) 2025-09-26 14:05:36.654 [info] [Execution] Completed with error Improperly formed request. 2025-09-26 14:05:36.654 [info] [agent-controller] Progressing model queue {"activeExecution":true,"queueSize":0} 2025-09-26 14:05:36.654 [info] [agent-controller] Progressing model queue {"activeExecution":false,"queueSize":0} 2025-09-26 14:05:36.655 [error] [agent-controller] Failed to invoke execution Improperly formed request.

Steps to Reproduce

No matter what I do, every prompt gives this error now. I have reinstalled the app multiple time but nothing worked.

Expected Behavior

It should have responded to my prompt like it was before I started getting this error.

Conversation ID

f4e9466c-7131-419a-aaf4-b8e7003f1a45

Additional Context

Image

ranjansoni avatar Sep 26 '25 21:09 ranjansoni

+1 on my side as well. I tried it without images, with images, in a new session. The issue sustains as of today. It was all good before. I'm on a paid Kiro account.

4artiseth avatar Sep 29 '25 11:09 4artiseth

Thank you for reporting this issue. I notice you're using Kiro version 0.2.68, which is several versions behind the current release.

Please:

  1. Update to the latest version of Kiro (currently v0.3.9)
  2. Test if the "An unexpected error occurred, please retry" issue persists
  3. If the issue continues after updating, please provide:
    • The specific actions that trigger the error
    • Any changes to the error message
    • Your updated log output

Recent versions include significant improvements to agent reliability, backend processing, and error handling that may resolve this issue.

schoemme avatar Oct 08 '25 20:10 schoemme

EVEN IN THE LATEST UP TO DATE VERSION THIS PROBLEM IS PERSISTENT ! KIRO IS A SHAME, VERY BUGGY, CRASHES ALL THE TIME, VERY VERY BAD PERFORMANCE.. KIRO HAS BECOME A HUGE WASTE OF TIME THERE ARE TIMES WHEN IT STOPS WORKING FOR 3 DAYS.

KIRO IS A BUGGED HALF BAKED PIECE OF $HIT ! SWITCHING BACK TO TRAE AND CURSOR !

Brahim-Amzil avatar Dec 12 '25 17:12 Brahim-Amzil

Hey Kiro Team, I am using the latest 0.8.206 version which is the latest download and have an issue while creating specs or even have a chat in Vibe. It is constantly throwing error "An unexpected error occurred, please retry." This is my conversation ID 72a6eda4-7127-4b62-b74e-f460700f1581. Am i missing any important details about settings or proxy?

nrnjnsk83 avatar Feb 04 '26 12:02 nrnjnsk83

It is happening for me on the version 0.11.34. I'm using Zorin linux.

2026-03-14 08:55:49.761 [error] Failed to stream response chunks Improperly formed request.
2026-03-14 08:55:49.764 [error] dt6: Validation error
	at Y10 (/usr/share/kiro/resources/app/extensions/kiro.kiro-agent/dist/extension.js:375600:222)
	at Cs2._streamResponseChunks (/usr/share/kiro/resources/app/extensions/kiro.kiro-agent/dist/extension.js:377773:23)
	at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
	at async Cs2._streamIterator (/usr/share/kiro/resources/app/extensions/kiro.kiro-agent/dist/extension.js:377176:30)

elias-chacon avatar Mar 14 '26 12:03 elias-chacon

Thank you for reporting this. As this issue was filed over 9 months ago without reproduction steps or version details, we are closing it as stale. If you are still experiencing this on the latest version, please open a new issue with detailed reproduction steps.

AnilMaktala avatar Apr 15 '26 17:04 AnilMaktala