[Bug] Anthropic API Error: Could not process image

Resolved 💬 3 comments Opened Jan 21, 2026 by jordangarrison Closed Jan 24, 2026

Bug Description
every time i try to upload an image i get this error
⎿  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process image"},"request_id":"req_011CXKrQu86FHZDT1KNfro5Z"}

Environment Info

  • Platform: linux
  • Terminal: alacritty
  • Version: 2.1.14
  • Feedback ID: 14887b99-e60e-45c5-be9c-88f59b82ed6c

Errors

[{"error":"Error: ENOENT: no such file or directory, scandir '/etc/claude-code/.claude/skills'\n    at readdirSync (unknown)\n    at jI (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:34380)\n    at FZ1 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:369)\n    at FZ1 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:336)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:4274)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:4088)\n    at B (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n    at lz7 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:4353)\n    at lz7 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:4318)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:6940)\n    at async <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:5445:2338)","timestamp":"2026-01-21T03:58:06.527Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/home/jordangarrison/.claude/skills'\n    at readdirSync (unknown)\n    at jI (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:34380)\n    at FZ1 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:369)\n    at FZ1 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:336)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:4317)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:4088)\n    at B (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n    at lz7 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:4353)\n    at lz7 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:4318)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:6940)\n    at async <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:5445:2338)","timestamp":"2026-01-21T03:58:06.527Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/etc/claude-code/.claude/skills'\n    at readdirSync (unknown)\n    at jI (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:34380)\n    at FZ1 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:369)\n    at FZ1 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:336)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:4274)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:1523:4088)\n    at B (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:6808)\n    at lz7 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:4353)\n    at lz7 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:4318)\n    at <anonymous> (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:4154:6940)","timestamp":"2026-01-21T03:58:08.887Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/home/jordangarrison/.claude/skills'\n    at readdirSync (unknown)\n    at jI (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9kcp34-claude-code-bun-2.1.14/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:34380)\n    at FZ1 (/nix/store/yqjyjppzg1a99x1h354sx1b4xh9k…

Note: Content was truncated.

View original on GitHub ↗

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