[BUG] API Error: Content block is not a text block

Resolved 💬 10 comments Opened Apr 13, 2026 by liueic Closed Jun 28, 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 try to type some words like:

help my change the contect in the astro with `/docs`

If just type a single word like hello, it works well.

What Should Happen?

I try to type some words like:

help my change the contect in the astro with `/docs`

Error Messages/Logs

API Error: Content block is not a text block

Steps to Reproduce

type some words in Claude 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.104

Platform

Other

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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