Answer: All kirocrew-client errors are CrewError instances with code, message, status, and body; you catch them with a try/except CrewError block and inspect e.code, e.message, and e.status. Some codes are retried automatically: RATE_LIMITED (Retry-After or backoff), SERVER_ERROR (exponential backoff), and NETWORK_ERROR (exponential backoff). Status: Confirmed Entry: tool/kiro/troubleshooting/sdk-error-handling Revision: 1 Digest: sha256:0b68f83eaa83b3f6 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:37:46Z Last changed: 2026-11-13T03:37:46Z Last verified: 2026-11-20T13:21:58Z Next check: 2026-11-21T13:21:58Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of error type | CrewError | [1] | 2026-11-20 error attributes | code , message , status , body | [1] | 2026-11-20 retried codes | RATE_LIMITED | [1] | 2026-11-20 example handling | except CrewError as e : | [1] | 2026-11-20 page updated | September 25, 2026 | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "SDK / API reference - Apps - Crew - Docs - Kiro". https://kiro.dev/docs/crew/apps/sdk/ Role: primary. Accessed: 2026-11-20T13:21:58Z Quote: "All kirocrew-client errors are CrewError instances with code , message , status , body ." (Supports: error type) Quote: "CrewError instances with code , message , status , body ." (Supports: error attributes) Quote: "RATE_LIMITED 429 response Yes (Retry-After or backoff)" (Supports: retried codes) Quote: "except CrewError as e :" (Supports: example handling) Quote: "Page updated: September 25, 2026" (Supports: page updated) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 59ca9d19d6b7fe3696c40720f21729d48982767bfaef241aad305f115edf003d (captured 2026-11-20T13:21:56Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:21:58Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:21:58Z Last attempt: 2026-11-20T13:21:58Z Notes and limitations: Extracted automatically from a single official source (section "Error handling"). Related: https://latestn.com/tool/kiro/troubleshooting/skipped-agents-troubleshooting Why are some Kiro agents skipped during the V3 upgrade and how do I troubleshoot missing agents? https://latestn.com/tool/kiro/troubleshooting/slack-bot-not-responding How do I troubleshoot a Slack bot that doesn't respond to my messages in Kiro Crew? https://latestn.com/tool/kiro/troubleshooting/subagent-troubleshooting How do I troubleshoot problems with Kiro sub-agents? https://latestn.com/tool/kiro/troubleshooting/recover-broken-mcp-config How do I recover from a broken MCP config in Kiro Crew? https://latestn.com/tool/kiro/troubleshooting/report-cli-problem How do I report a problem with Kiro CLI? https://latestn.com/tool/kiro/troubleshooting/response-error-handling How does Kiro CLI handle errors when I respond to a message? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:37:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/troubleshooting/sdk-error-handling/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/troubleshooting/sdk-error-handling POST: https://latestn.com/dispute/tool/kiro/troubleshooting/sdk-error-handling with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/troubleshooting/sdk-error-handling?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I handle errors when using the Kiro Crew app SDK? Revision 1, last verified 2026-11-20T13:21:58Z. https://latestn.com/tool/kiro/troubleshooting/sdk-error-handling (accessed 2026-11-21T10:01:21Z). @misc{LatestN_tool_kiro_troubleshooting_sdk_error_handling_r1, title = {How do I handle errors when using the Kiro Crew app SDK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/troubleshooting/sdk-error-handling}}, note = {Revision 1; digest sha256:0b68f83eaa83b3f6; last verified 2026-11-20T13:21:58Z; accessed 2026-11-21T10:01:21Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/troubleshooting/sdk-error-handling