[Bug] Image Upload Error Prevents Conversation Continuation

Resolved 💬 3 comments Opened Oct 8, 2025 by atomey Closed Oct 12, 2025

Bug Description
I am currently getting an error with image cannot be empty... somehow when I was pasting text i seem to have pasted an empty image, i may have confused ctrl + v with command + v since i'm on macos with a windows keyboard but i can't seem to adjust this conversation's attached documents, like the image from the last input response gets stuck and i can't continue this conversation now because of a bad paste...

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.10
  • Feedback ID: 6c528c75-2104-41be-996c-1ef16d80b929

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.92.content.0.image.source.base64: image cannot be empty\"},\"request_id\":\"req_011CTvBsPJfyWPN4toAP5RBN\"}\n    at i9.generate (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:881:18710)\n    at bP.makeStatusError (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1026:2117)\n    at bP.makeRequest (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:1026:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async tI1.model (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3208:18601)\n    at async tI1 (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:2534:2114)\n    at async pQQ (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3208:18755)\n    at async file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3208:12983\n    at async Nk0 (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3208:4228)\n    at async x11 (file:///Users/adam/.nvm/versions/node/v23.11.1/lib/node_modules/@anthropic-ai/claude-code/cli.js:3208:12953)","timestamp":"2025-10-08T18:15:54.928Z"}]

I Googled and saw similar issues so this is probably already known, just not yet fixed. Obviously if you paste an invalid image or something, it shouldn't break your conversation history, it should just discard it outright on the clientside.

View original on GitHub ↗

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