[Bug] Anthropic API Error: Could not process image from Recraft.ai vector

Resolved 💬 4 comments Opened Mar 26, 2026 by metabsorber Closed Apr 28, 2026

Bug Description
generated via API key from recraft.ai vector picture, getting  API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Could not process
image"},"request_id":"req_011CZSG3GTsmV3RmCaUhAkcJ"} when trying to analyze by claude code

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.84
  • Feedback ID: 31cb2729-c750-4212-90ca-8916015241fd

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 207368 tokens > 200000 maximum\"},\"request_id\":\"req_011CZS5W85Zp4arFkumimgmC\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57383)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T17:22:33.704Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n    at HGH (/$bunfs/root/src/entrypoints/cli.js:2103:1301)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T17:22:33.707Z"},{"error":"Error: Request was aborted.\n    at wv_ (/$bunfs/root/src/entrypoints/cli.js:1905:8303)\n    at next (native:1:11)\n    at SLA (/$bunfs/root/src/entrypoints/cli.js:7507:7794)\n    at next (native:1:11)\n    at bLA (/$bunfs/root/src/entrypoints/cli.js:7512:10598)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T17:34:09.288Z"},{"error":"MaxFileReadTokenExceededError: File content (34059 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at R$A (/$bunfs/root/src/entrypoints/cli.js:4484:23589)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T17:35:55.198Z"},{"error":"MaxFileReadTokenExceededError: File content (34059 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at R$A (/$bunfs/root/src/entrypoints/cli.js:4484:23589)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T17:36:18.638Z"},{"error":"MaxFileReadTokenExceededError: File content (31332 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at R$A (/$bunfs/root/src/entrypoints/cli.js:4484:23589)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T18:39:18.012Z"},{"error":"MaxFileReadTokenExceededError: File content (10303 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at R$A (/$bunfs/root/src/entrypoints/cli.js:4484:23589)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T18:39:51.507Z"},{"error":"MaxFileReadTokenExceededError: File content (24835 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at R$A (/$bunfs/root/src/entrypoints/cli.js:4484:23589)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T18:39:55.533Z"},{"error":"MaxFileReadTokenExceededError: File content (10248 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at R$A (/$bunfs/root/src/entrypoints/cli.js:4484:23589)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T18:40:51.735Z"},{"error":"Unable to determine image format","timestamp":"2026-03-26T19:40:41.561Z"},{"error":"Unable to determine image format","timestamp":"2026-03-26T19:40:42.370Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CZSG3GTsmV3RmCaUhAkcJ\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57383)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-26T19:40:44.807Z"}]

View original on GitHub ↗

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