[Bug] Anthropic API Error: Empty base64 image in follow-up screenshots

Resolved 💬 3 comments Opened Feb 14, 2026 by arturmack Closed Feb 14, 2026

Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"message
s.70.content.1.image.source.base64: image cannot be
empty"},"request_id":"req_011CY8danvDrvyGhCKEwiaww"} \
Always getting this, usually getting this error when inserting any images as the follow-up screenshots.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.15
  • Feedback ID: 44204bc5-30f7-44df-be7b-1366c7bfa4b7

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n    at Module.readdirSync (node:fs:1560:26)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1766\n    at UX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:34567)\n    at Object.readdirSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1736)\n    at fw1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:369)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:4279\n    at q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n    at DT2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4183:4362)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4183:6961\n    at q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)","timestamp":"2026-02-14T19:07:10.237Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/arturmack/.claude/skills'\n    at Module.readdirSync (node:fs:1560:26)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1766\n    at UX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:34567)\n    at Object.readdirSync (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:1736)\n    at fw1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:369)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:4322\n    at q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n    at DT2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4183:4362)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4183:6961\n    at q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)","timestamp":"2026-02-14T19:07:10.237Z"},{"error":"Error: Request was aborted.\n    at XR.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:951:3940)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-02-14T19:57:42.040Z"},{"error":"Error: Request was aborted.\n    at XR.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:951:3940)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)","timestamp":"2026-02-14T19:58:27.895Z"},{"error":"MaxFileReadTokenExceededError: File content (29812 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at N37 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:5965)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1549:996)\n    at async yeY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2698:19012)","timestamp":"2026-02-14T20:36:54.387Z"},{"error":"MaxFileReadTokenExceededError: File content (29812 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at N37 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1540:5965)\n    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n    at async Object.call (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1549:996)\n    at async yeY (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2698:19012)","timestamp":"2026-02-14T20:37:07.018Z"},{"error":"Error: Input Buffer is empty\n    at i8A.fi9 [as _createInputDescriptor] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1101:28426)\n    at new i8A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1101:3228)\n    at i8A (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1101:242)\n    at JOA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1101:80888)\n   …

Note: Content was truncated.

View original on GitHub ↗

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