[Bug] Image processing fails with "could not process image" error regardless of input

Resolved 💬 3 comments Opened Jan 21, 2026 by BenMQ Closed Jan 25, 2026

Bug Description
Encountered "could not process image" no matter what I say

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.9
  • Feedback ID: 147f51a2-905b-43bb-a336-7c3d2409f3c5

Errors

[{"error":"Unable to determine image format","timestamp":"2026-01-21T22:06:45.291Z"},{"error":"Unable to determine image format","timestamp":"2026-01-21T22:06:48.013Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:817)\n    at e2 (/$bunfs/root/claude:11:34738)\n    at readSync (/$bunfs/root/claude:12:695)\n    at R5 (/$bunfs/root/claude:4644:113)\n    at B5 (/$bunfs/root/claude:4646:206)\n    at bW8 (/$bunfs/root/claude:5238:7818)\n    at bW8 (/$bunfs/root/claude:5238:8706)\n    at J (/$bunfs/root/claude:5238:7021)\n    at J (/$bunfs/root/claude:5238:7318)","timestamp":"2026-01-21T22:06:50.841Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:562)\n    at e2 (/$bunfs/root/claude:11:34738)\n    at readFileSync (/$bunfs/root/claude:12:521)\n    at B5 (/$bunfs/root/claude:4646:231)\n    at bW8 (/$bunfs/root/claude:5238:7818)\n    at bW8 (/$bunfs/root/claude:5238:8706)\n    at J (/$bunfs/root/claude:5238:7021)\n    at J (/$bunfs/root/claude:5238:7318)\n    at <anonymous> (/$bunfs/root/claude:5238:7351)","timestamp":"2026-01-21T22:06:50.851Z"},{"error":"Unable to determine image format","timestamp":"2026-01-21T22:06:53.821Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:817)\n    at e2 (/$bunfs/root/claude:11:34738)\n    at readSync (/$bunfs/root/claude:12:695)\n    at R5 (/$bunfs/root/claude:4644:113)\n    at B5 (/$bunfs/root/claude:4646:206)\n    at bW8 (/$bunfs/root/claude:5238:7818)\n    at bW8 (/$bunfs/root/claude:5238:8706)\n    at J (/$bunfs/root/claude:5238:7021)\n    at J (/$bunfs/root/claude:5238:7318)","timestamp":"2026-01-21T22:06:53.859Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readFileSync (unknown)\n    at <anonymous> (/$bunfs/root/claude:12:562)\n    at e2 (/$bunfs/root/claude:11:34738)\n    at readFileSync (/$bunfs/root/claude:12:521)\n    at B5 (/$bunfs/root/claude:4646:231)\n    at bW8 (/$bunfs/root/claude:5238:7818)\n    at bW8 (/$bunfs/root/claude:5238:8706)\n    at J (/$bunfs/root/claude:5238:7021)\n    at J (/$bunfs/root/claude:5238:7318)\n    at <anonymous> (/$bunfs/root/claude:5238:7351)","timestamp":"2026-01-21T22:06:53.869Z"},{"error":"Unable to determine image format","timestamp":"2026-01-21T22:06:54.789Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CXMHRDmv2fYhmM5hrFvhG\"}\n    at generate (/$bunfs/root/claude:939:2085)\n    at makeRequest (/$bunfs/root/claude:956:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-21T22:06:55.209Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CXMHSNmwAS4ba3oq3cqNL\"}\n    at generate (/$bunfs/root/claude:939:2085)\n    at makeRequest (/$bunfs/root/claude:956:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-21T22:07:10.928Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"Could not process image\"},\"request_id\":\"req_011CXMHTaDYJDkUonhS8d1hw\"}\n    at generate (/$bunfs/root/claude:939:2085)\n    at makeRequest (/$bunfs/root/claude:956:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-01-21T22:07:27.131Z"}]

View original on GitHub ↗

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