You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
After asking to view svg image, CLI is stuck with error #5786
Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 unknown (Debian in WSL on Win11)
What issue are you seeing?
To get a vector shape correct in my program, I had the idea of making a simple .svg file the tool could read and get the exact coordinate data from it. I asked it to look in the file (like it looks at png files) on the cli, which it tried to do but got this 400 error back: "The image data you provided does not represent a valid image. Please check your input and try again with one of the supported image formats: ['image/jpeg', 'image/png', 'image/gif', 'image/webp']."
Ok, no problem, it's not supported. But now, any input I give to the CLI just makes this error come up again. I can even close the program and resume, but problem persists. It cannot get over the insult of an svg file. Removing the svg file from disk does not work since it's probably a part of the context now.
What steps can reproduce the bug?
Save an svg file (or maybe just any unsupported file?) in the directory, start Codex CLI, ask it to look in the image.
What is the expected behavior?
Either:
400 error printed and then the model works as before, responsive to new inputs, or
Tool should know it cannot read svg files and not try to upload one in the first place.
Activity
github-actions commentedon Oct 26, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action