[Bug] Anthropic API Error: Image dimensions exceed max size on text-only prompts
Resolved 💬 8 comments Opened Nov 4, 2025 by Zyxil Closed Jan 9, 2026
Bug Description
getting API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"m
essages.3.content.2.image.source.base64.data: At least one of the image dimensions
exceed max allowed size: 8000 pixels"},"request_id":"req_011CUnFAbuy38iaaJsAuAgEy"} errors even when not submitting an image. text prompts are not working. \
i've closed and restarted CC, but still stuck.
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 2.0.32
- Feedback ID: 2d381951-4b8d-4a9e-8c94-47ec49673b4f
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.2.image.source.base64.data: At least one of the image dimensions exceed max allowed size: 8000 pixels\"},\"request_id\":\"req_011CUnF9DLsqNGWg21AqKwft\"}\n at generate (B:/~BUN/root/claude.exe:381:26098)\n at makeRequest (B:/~BUN/root/claude.exe:526:5356)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-04T04:48:58.359Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.2.image.source.base64.data: At least one of the image dimensions exceed max allowed size: 8000 pixels\"},\"request_id\":\"req_011CUnFAbuy38iaaJsAuAgEy\"}\n at generate (B:/~BUN/root/claude.exe:381:26098)\n at makeRequest (B:/~BUN/root/claude.exe:526:5356)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-04T04:49:17.345Z"}]This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗