[BUG] Unhandled case: [object Object]

Resolved 💬 6 comments Opened May 14, 2026 by Hennie48 Closed May 14, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

I am running Claude Code 2.1.141. I keep getting the above error.

I wait a few minutes and then I can continue as before. Then again I get the error about 10 minutes later. It has happened numerous times now.

What Should Happen?

Claude should not break like this and complete the task I asked of it.

Error Messages/Logs

[DEBUG] Stream started - received first chunk

2026-05-14 13:00:25.105 [info] From claude: 2026-05-14T11:00:25.105Z [WARN] [Stall] stream_idle_partial lastChunkAgeMs=15009 bytesTotal=659 idleDeadlineMs=300000

2026-05-14 13:00:40.112 [info] Received message from webview: {"type":"request","channelId":"zl6ipfoa9r","requestId":"91nj33hloj","request":{"type":"log_event","eventName":"sdk_stream_ended_no_result","eventData":{"had_error":true,"subagent_count":0,"message_count":232}}}
2026-05-14 13:00:40.113 [info] Received message from webview: {"type":"request","requestId":"m6udgcspzjd","request":{"type":"update_session_state","sessionId":"f7a8afdd-24c3-436c-8167-55d423babb3a","state":"idle","title":"Read session handoff documentation"}}
2026-05-14 13:00:50.599 [info] From claude: 2026-05-14T11:00:50.599Z [WARN] Streaming stall detected: 40.5s gap between events (stall #1)

2026-05-14 13:00:57.804 [info] From claude: 2026-05-14T11:00:57.804Z [DEBUG] "Permission suggestions for Bash: [\n  {\n    \"type\": \"addRules\",\n    \"rules\": [\n      {\n        \"toolName\": \"Bash\",\n        \"ruleContent\": \"git -C \\\"d:/Buddies Games Main Game Devops/TAP_Buddies_Api\\\" show origin/TestDev:src/Domain/Service_Domain/Entities/CrystalLedgerEntry.cs\"\n      },\n      {\n        \"toolName\": \"Bash\",\n        \"ruleContent\": \"git -C \\\"d:/Buddies Games Main Game Devops/TAP_Buddies_Api\\\" show origin/TestDev:src/Domain/Service_Domain/Entities/CrystalBalance.cs\"\n      },\n      {\n        \"toolName\": \"Bash\",\n        \"ruleContent\": \"git -C \\\"d:/Buddies Games Main Game Devops/TAP_Buddies_Api\\\" show origin/TestDev:src/Domain/Service_Domain/Entities/CrystalHouseholdConfig.cs\"\n      }\n    ],\n    \"behavior\": \"allow\",\n    \"destination\": \"localSettings\"\n  }\n]"
2026-05-14T11:00:57.804Z [DEBUG] executePermissionRequestHooks called for tool: Bash

2026-05-14 13:00:57.806 [info] Received message from webview: {"type":"request","requestId":"3u4l25rv9ac","request":{"type":"update_session_state","sessionId":"f7a8afdd-24c3-436c-8167-55d423babb3a","state":"idle","title":"Read session handoff documentation"}}
2026-05-14 13:00:57.924 [info] From claude: 2026-05-14T11:00:57.924Z [WARN] Streaming completed with 1 stall(s), total stall time: 40.5s

2026-05-14 13:04:36.900 [info] Received message from webview: {"type":"request","requestId":"5240q6aq7oa","request":{"type":"open_output_panel"}}

Steps to Reproduce

I just put in a prompt for it to start work on our phase A of integrating our frontend and backend.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

anthropic.claude-code-2.1.141-win32-x64

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗