[BUG] Dispatch stuck in a loop of error 400 stating content contains white-space

Resolved 💬 3 comments Opened Apr 8, 2026 by pnutmarketeer Closed Apr 12, 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?

After getting caught in a loop on a response, dispatch continues to throw the following error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: text content blocks must contain non-whitespace text"},"request_id":"req_011CZrP7s3mCDydNmBhXsh9G"}

I've cleared cache both in browser and desktop app and restarted. logged out and in. Claude code works fine, just not dispatch ever since it got caught in the loop

<img width="1128" height="1048" alt="Image" src="https://github.com/user-attachments/assets/6147e3ca-40fc-4ce4-b63d-d46b37a1d76e" />
<img width="1172" height="1092" alt="Image" src="https://github.com/user-attachments/assets/823c3966-ba22-4737-adb4-36fdb829e892" />

What Should Happen?

It shouldn't error for no reason LOL

Error Messages/Logs

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages: text content blocks must contain non-whitespace text"},"request_id":"req_011CZrP7s3mCDydNmBhXsh9G"}

Steps to Reproduce

I have no idea how to reproduce it, it simply throws the error every time I send a message now.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.1062.0 (b81bcd)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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