[Bug] Claude ignores file size warnings and repeatedly attempts to read oversized PNG files

Resolved 💬 2 comments Opened Dec 19, 2025 by ckemper67 Closed Dec 19, 2025

Bug Description
claude tries to repeatedly read a png that is too wide for inspection. The error message clearly says so and claude does not understand. I even told claude not to read the file and it still does.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.73
  • Feedback ID: 0e5b1a35-0e5e-4a54-9957-299f00ad5547

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.15.content.2.image.source.base64.data: At least one of the image dimensions exceed max allowed size: 8000 pixels\"},\"request_id\":\"req_011CWGHNsErHoydcqhg82Mwt\"}\n    at generate (/$bunfs/root/claude:443:11098)\n    at makeRequest (/$bunfs/root/claude:790:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-19T15:28:57.617Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.15.content.2.image.source.base64.data: At least one of the image dimensions exceed max allowed size: 8000 pixels\"},\"request_id\":\"req_011CWGHSr23H5VV96DCz1JuW\"}\n    at generate (/$bunfs/root/claude:443:11098)\n    at makeRequest (/$bunfs/root/claude:790:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-19T15:29:51.752Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.15.content.2.image.source.base64.data: At least one of the image dimensions exceed max allowed size: 8000 pixels\"},\"request_id\":\"req_011CWGHU9gwxa7zFVv8X6RWB\"}\n    at generate (/$bunfs/root/claude:443:11098)\n    at makeRequest (/$bunfs/root/claude:790:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-19T15:30:09.451Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.15.content.2.image.source.base64.data: At least one of the image dimensions exceed max allowed size: 8000 pixels\"},\"request_id\":\"req_011CWGHWDrmwXkfvRozReG8Y\"}\n    at generate (/$bunfs/root/claude:443:11098)\n    at makeRequest (/$bunfs/root/claude:790:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-19T15:30:37.320Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.15.content.2.image.source.base64.data: At least one of the image dimensions exceed max allowed size: 8000 pixels\"},\"request_id\":\"req_011CWGHXKfZPT1n9HnbR3dqP\"}\n    at generate (/$bunfs/root/claude:443:11098)\n    at makeRequest (/$bunfs/root/claude:790:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-19T15:30:52.254Z"}]

View original on GitHub ↗

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