cache control set issue

Resolved 💬 3 comments Opened Apr 27, 2026 by bHBeachsider Closed May 1, 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?

messages.198.content.1.text: cache_control cannot be set for empty text blocks. throws 404.

What Should Happen?

should be able to run close-session skill

Error Messages/Logs

Steps to Reproduce

messages.198.content.1.text: cache_control cannot be set for empty text blocks

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

opus 4.7

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 ↗