在那裡說明:「上傳圖片時若文字欄為空,會觸發 API 400 錯誤 ‘messages: text content blocks must be non-empty’」

Resolved 💬 1 comment Opened Apr 26, 2026 by choujame Closed May 29, 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?

在那裡說明:「上傳圖片時若文字欄為空,會觸發 API 400 錯誤 ‘messages: text content blocks must be non-empty’」

What Should Happen?

在那裡說明:「上傳圖片時若文字欄為空,會觸發 API 400 錯誤 ‘messages: text content blocks must be non-empty’」

Error Messages/Logs

在那裡說明:「上傳圖片時若文字欄為空,會觸發 API 400 錯誤 ‘messages: text content blocks must be non-empty’」

Steps to Reproduce

在那裡說明:「上傳圖片時若文字欄為空,會觸發 API 400 錯誤 ‘messages: text content blocks must be non-empty’」

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

在那裡說明:「上傳圖片時若文字欄為空,會觸發 API 400 錯誤 ‘messages: text content blocks must be non-empty’」

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗