[Bug] Image size validation error requires double ESC to recover
Resolved 💬 3 comments Opened Dec 23, 2025 by computa Closed Dec 26, 2025
Bug Description
Image was too large. Double press esc to go back and try again with a smaller image.
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 2.0.75
- Feedback ID: 408a8ad7-ccce-4fe1-8feb-4e374eb0bbcd
Errors
[{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:500)\n at sW (/$bunfs/root/claude:11:8463)\n at readFileSync (/$bunfs/root/claude:12:465)\n at $w_ (/$bunfs/root/claude:4697:22559)\n at call (/$bunfs/root/claude:966:945)\n at call (/$bunfs/root/claude:962:6251)\n at ho7 (/$bunfs/root/claude:2142:17437)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-22T08:42:25.769Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CWMZWrYnXHrcRdAbN7ZHT\"}\n at generate (/$bunfs/root/claude:454:11308)\n at makeRequest (/$bunfs/root/claude:801:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-22T10:23:33.219Z"},{"error":"Error\n at <anonymous> (/$bunfs/root/claude:46:64184)\n at <anonymous> (/$bunfs/root/claude:60:10259)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:248:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:62:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-22T13:13:10.896Z"},{"error":"Error\n at <anonymous> (/$bunfs/root/claude:46:64184)\n at <anonymous> (/$bunfs/root/claude:60:10259)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:248:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:62:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-22T13:43:42.236Z"},{"error":"Error\n at ak (/$bunfs/root/claude:59:1144)\n at <anonymous> (/$bunfs/root/claude:60:10093)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:62:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-22T13:51:54.231Z"},{"error":"Error\n at ak (/$bunfs/root/claude:59:1144)\n at <anonymous> (/$bunfs/root/claude:60:10093)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:62:2149)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-22T13:52:09.058Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/claude:801:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-23T01:32:19.289Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:724)\n at sW (/$bunfs/root/claude:11:8463)\n at readSync (/$bunfs/root/claude:12:627)\n at CX (/$bunfs/root/claude:4700:113)\n at Th (/$bunfs/root/claude:4702:206)\n at jo7 (/$bunfs/root/claude:2164:6561)\n at jo7 (/$bunfs/root/claude:2164:7447)\n at J (/$bunfs/root/claude:2164:5766)\n at J (/$bunfs/root/claude:2164:6062)","timestamp":"2025-12-23T01:44:57.047Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:500)\n at sW (/$bunfs/root/claude:11:8463)\n at readFileSync (/$bunfs/root/claude:12:465)\n at Th (/$bunfs/root/claude:4702:231)\n at jo7 (/$bunfs/root/claude:2164:6561)\n at jo7 (/$bunfs/root/claude:2164:7447)\n at J (/$bunfs/root/claude:2164:5766)\n at J (/$bunfs/root/claude:2164:6062)\n at <anonymous> (/$bunfs/root/claude:2164:6095)","timestamp":"2025-12-23T01:44:57.048Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.3.content.6.image.source.base64: image exceeds 5 MB maximum: 6254292 bytes > 5242880 bytes\"},\"request_id\":\"req_011CWNqzwBEoAHqXdSELHQDq\"}\n at generate (/$bunfs/root/claude:454:11098)\n at makeRequest (/$bunfs/root/claude:801:5435)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-23T02:40:26.737Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗