[Bug] Anthropic API Error: Image dimensions exceed max size in multi-image requests
Resolved 💬 3 comments Opened Nov 12, 2025 by andrewreece Closed Nov 16, 2025
Bug Description
Sometimes I will randomly get an error like this: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.40.content.5.image.source.base64.data: At least one of the image dimensions exceed max allowed
size for many-image requests: 2000 pixels"},"request_id":"req_011CV4ErX93DxuJTX2hQezZ4"}
When it appears, there's no way to fix it other than to restart Claude or run /clear.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.37
- Feedback ID:
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at TX (/$bunfs/root/claude:1227:4395)\n at <anonymous> (/$bunfs/root/claude:1227:4117)\n at map (native:1:11)\n at HI (/$bunfs/root/claude:1227:4109)\n at PuB (/$bunfs/root/claude:2101:402)\n at $WB (/$bunfs/root/claude:1361:198029)\n at B7 (/$bunfs/root/claude:102:19663)\n at e3 (/$bunfs/root/claude:104:42806)\n at aF (/$bunfs/root/claude:104:38344)\n at u1 (/$bunfs/root/claude:104:38272)","timestamp":"2025-11-11T17:16:51.809Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at TX (/$bunfs/root/claude:1227:4395)\n at <anonymous> (/$bunfs/root/claude:1227:4117)\n at map (native:1:11)\n at HI (/$bunfs/root/claude:1227:4109)\n at PuB (/$bunfs/root/claude:2101:402)\n at $WB (/$bunfs/root/claude:1361:198029)\n at B7 (/$bunfs/root/claude:102:19663)\n at e3 (/$bunfs/root/claude:104:42806)\n at aF (/$bunfs/root/claude:104:38344)\n at u1 (/$bunfs/root/claude:104:38272)","timestamp":"2025-11-11T17:16:51.811Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at TX (/$bunfs/root/claude:1227:4395)\n at <anonymous> (/$bunfs/root/claude:1227:4117)\n at map (native:1:11)\n at HI (/$bunfs/root/claude:1227:4109)\n at PuB (/$bunfs/root/claude:2101:402)\n at $WB (/$bunfs/root/claude:1361:198029)\n at B7 (/$bunfs/root/claude:102:19663)\n at e3 (/$bunfs/root/claude:104:42806)\n at aF (/$bunfs/root/claude:104:38344)\n at u1 (/$bunfs/root/claude:104:38272)","timestamp":"2025-11-11T17:16:51.811Z"},{"error":"Error: Lock file is already being held\n at <anonymous> (/$bunfs/root/claude:87:11857)\n at X (/$bunfs/root/claude:86:5167)\n at <anonymous> (node:fs:243:13)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T17:16:59.201Z"},{"error":"Error: Request was aborted.\n at _createMessage (/$bunfs/root/claude:232:4515)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T17:36:16.316Z"},{"error":"Error: Lock file is already being held\n at <anonymous> (/$bunfs/root/claude:87:11857)\n at X (/$bunfs/root/claude:86:5167)\n at <anonymous> (node:fs:243:13)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T17:46:58.957Z"},{"error":"Error: Lock file is already being held\n at <anonymous> (/$bunfs/root/claude:87:11857)\n at X (/$bunfs/root/claude:86:5167)\n at <anonymous> (node:fs:243:13)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T17:48:31.680Z"},{"error":"Error: Lock file is already being held\n at <anonymous> (/$bunfs/root/claude:87:11857)\n at X (/$bunfs/root/claude:86:5167)\n at <anonymous> (node:fs:243:13)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T18:18:32.652Z"},{"error":"Error: Lock file is already being held\n at <anonymous> (/$bunfs/root/claude:87:11857)\n at X (/$bunfs/root/claude:86:5167)\n at <anonymous> (node:fs:243:13)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T18:48:31.901Z"},{"error":"Error: Lock file is already being held\n at <anonymous> (/$bunfs/root/claude:87:11857)\n at X (/$bunfs/root/claude:86:5167)\n at <anonymous> (node:fs:243:13)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T19:18:31.949Z"},{"error":"Error: Request was aborted.\n at _createMessage (/$bunfs/root/claude:232:4515)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-11T19:22:39.180Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at TX (/$bunfs/root/claude:1227:4395)\n at <anonymous> (/$bunfs/root/claude:1227:4117)\n at map (native:1:11)\n at HI (/$bunfs/root/claude:1227:4109)\n at A3B (/$bunfs/root/claude:1592:2883)\n at B7 (/$bunfs/root/claude:102:19663)\n at e3 (/$bunfs/ro
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗