Skip to content

Codex VS Code extension injects empty image_url blocks into some chats, causing permanent 400 errors. #4132

Closed

Description

@fsfra

What version of Codex is running?

0.4.14

Which model were you using?

gpt-5-codex

What platform is your computer?

Darwin 25.0.0 arm64 arm

What steps can reproduce the bug?

  1. use Codex extension in VS Code (MAc, version 0.4.14)
  2. Work in chat normally
  3. After some time, any new message (even plain text) fails with:
    stream error: unexpected status 400 Bad Request:
    { "error": { "message": "Invalid 'input[...].content[...].image_url'. Expected a base64-encoded data URL …" } }

Starting new chat works fine.

What is the expected behavior?

Plain text messages should not include image_url

What do you see instead?

Old chat thread carries a ghost image_url attachment, making it unusable.

Additional information

No response

Activity

  1. gpeal commented on Oct 22, 2025

    @gpeal
    Contributor

    Do you have any steps that reliably reproduce this?

  2. etraut-openai commented on Nov 25, 2025

    @etraut-openai
    Contributor

    Closing because of lack of repro steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions