Bug Report all messages must have non-empty content except for the optional final assistant message

Resolved 💬 3 comments Opened Aug 28, 2025 by koharyou1215 Closed Jan 5, 2026

Bug Description

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 1.0.96
  • Feedback ID: 99fb8d6b-8363-4071-8068-c6019da71277

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0: all messages must have non-empty content except for the optional final assistant message\"},\"request_id\":\"req_011CSarLLj2ZRbTy4cWexMjs\"}\n    at k4.generate (file:///C:/Users/kohar/AppData/Local/nvm/v20.14.0/node_modules/@anthropic-ai/claude-code/cli.js:926:2412)\n    at UP.makeStatusError (file:///C:/Users/kohar/AppData/Local/nvm/v20.14.0/node_modules/@anthropic-ai/claude-code/cli.js:943:2131)\n    at UP.makeRequest (file:///C:/Users/kohar/AppData/Local/nvm/v20.14.0/node_modules/@anthropic-ai/claude-code/cli.js:943:5344)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-08-28T21:53:58.013Z"}]

View original on GitHub ↗

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