[Bug] 400 Error with image upload breaks session resumption

Resolved 💬 3 comments Opened Apr 2, 2026 by brentrbutcher Closed Apr 5, 2026

Bug Description
400 error with image and now session will not resume

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.90
  • Feedback ID: 4a4f47ff-a5fe-4d52-a505-4d49e5466a9e

Errors

[{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12922)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-02T05:19:30.930Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.11.content.8.image.source.base64.data: Image format image/png not supported\"},\"request_id\":\"req_011CZeP2xFcQ6EDg2Enx5vS9\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:51662)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:5435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-02T05:19:35.268Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:105:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:12922)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-02T05:19:48.915Z"}]

View original on GitHub ↗

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