[Bug] Anthropic API Error: Could not process image
Resolved 💬 3 comments Opened Feb 6, 2026 by MaartenRischen Closed Feb 9, 2026
Bug Description
API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"Could not
process image"},"request_id":"req_011CXrLE6ifHazFGQngMkDuP"}
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.33
- Feedback ID: 359b7355-44be-4c9a-b517-56e700c17cfe
Errors
[{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at LC.validateHeaders (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:1008)\n at LC.buildHeaders (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:8502)\n at async LC.buildRequest (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:7560)\n at async LC.makeRequest (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:3388)\n at async file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:3349\n at async file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:2232\n at async MO9 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1015:9420)\n at async fS7 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:2165)\n at async nQ1 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3115:10194)\n at async Gd (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3115:10890)","timestamp":"2026-02-06T03:28:36.921Z"},{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at LC.validateHeaders (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:1008)\n at LC.buildHeaders (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:8502)\n at async LC.buildRequest (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:7560)\n at async LC.makeRequest (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:3388)\n at async ES7 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1016:4041)\n at async nQ1 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3115:10466)\n at async Gd (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3115:10890)\n at async an4 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3132:554)","timestamp":"2026-02-06T03:28:36.922Z"},{"error":"Error: Failed to delete keychain entry\n at md8 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:217:16866)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async nd8 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:218:627)\n at async id8 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:218:531)\n at async h06 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1923:2313)\n at async $m1.startOAuthFlow (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1923:3660)\n at async file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1936:29372","timestamp":"2026-02-06T03:29:10.671Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"The long context beta is not yet available for this subscription.\"},\"request_id\":\"req_011CXr7Ae6fthGAM8po3VxjR\"}\n at Z4.generate (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:359:8788)\n at LC.makeStatusError (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:2195)\n at LC.makeRequest (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:376:5420)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-02-06T03:29:42.939Z"},{"error":"Error: Failed to delete keychain entry\n at md8 (file:///Users/maartenrischen/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:217:16866)\n at process.proce…
Note: Content was truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗