[BUG] Unhandled case: [object Object]

Resolved 💬 3 comments Opened May 15, 2026 by yanieldue Closed May 15, 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?

<img width="1116" height="635" alt="Image" src="https://github.com/user-attachments/assets/3e2b148f-3b08-4b20-83f9-898dde726a16" />
<img width="1112" height="378" alt="Image" src="https://github.com/user-attachments/assets/a5613ec5-d45a-47e7-a1e7-a2c7a83310ae" />

things get stuck at thinking... and have to send multiple prompts for it to work agian

What Should Happen?

Claude should just produce the output like normal without having me to retrigger the prompt

Error Messages/Logs

Steps to Reproduce

write prompt in cluade code

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.141

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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