Images not being processed

Resolved 💬 4 comments Opened Nov 24, 2025 by petarvujovic98 Closed Feb 23, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.63.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

Linux 6.12.57 x86_64 unknown (NixOS)

What issue are you seeing?

Whatever image type I give to codex for inspecting I get the following response:

unexpected status 400 Bad Request: {
  "error": {
    "message": "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'].",
    "type": "invalid_request_error",
    "param": "input",
    "code": "invalid_value"
  }
}

What steps can reproduce the bug?

Uploaded thread: 019ab583-ce78-7473-aea9-fc8682c37f9a

What is the expected behavior?

I'm expecting codex to inspect the image in order to respond to the request I made

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 9 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #7214
  • #5786
  • #5675
  • #5346

Powered by Codex Action

lionel-oai contributor · 9 months ago

Hi @petarvujovic98, thanks for submitting this issue. Could you check the format of your image? What is the exact extension of the image?

Here is an example of how to make a simple transcript of an image using gpt-5.1-codex-max:

https://github.com/user-attachments/assets/bfd871d2-4943-4afb-b5ed-a637cdb45ed6

This image has been generated by the screenshot function on Mac. Hope this helps :)

petarvujovic98 · 9 months ago

I tried with svg first, then with png, and neither worked

etraut-openai contributor · 6 months ago

Reviewing old (possibly stale and no-longer-relevant) bug reports.

We haven't received any recent reports of this, so I think it's no longer an issue.

Let us know if you're still seeing this with the latest version of Codex.