Skip to content

Built-in Image Generation Consistently Returns a Network Error in the Codex Windows App #32440

Open

Description

@LastFlowerSociety

What version of the Codex App are you using (From “About Codex” dialog)?

26.707.31428

What subscription do you have?

plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I am unable to use the built-in image generation feature in the Codex/ChatGPT Windows desktop app. The issue appears to have started after the Codex and ChatGPT desktop app integration released around July 9, 2026.
Both new image generation and reference-image editing fail with a network error.
Error when generating a new image:
image generation failed: network error: error sending request for url
(https://chatgpt.com/backend-api/codex/images/generations)
Error endpoint when reference images are used:
https://chatgpt.com/backend-api/codex/images/edits
Troubleshooting already performed:
Completely uninstalled and reinstalled the Windows desktop app.
Fully exited the app, including its system tray process, and restarted it.
Confirmed that sufficient usage capacity is available.
Tested a minimal prompt without reference images.
Re-encoded and compressed the reference images before retrying.
Checked local DNS, network connectivity, TLS, and certificate handling.
Diagnostic findings:
A minimal request without reference images still fails, so the problem does not appear to be caused by the prompt, image size, or reference-image format.
Both the system certificate store and the active custom CA bundle can reach the same image endpoint and receive the expected unauthenticated HTTP 403 response. This indicates that DNS, TCP, and TLS connectivity are working.
Normal Codex conversations and Responses WebSocket connections work correctly.
The failure appears limited to the built-in image generation extension.
The installed Windows app package version is 26.707.3748.0.
The locally installed runtime and skill bundle appear newer than the desktop host, suggesting a possible host-version or image-extension compatibility issue.
Although the app reports a generic network error, the evidence suggests that the underlying issue may involve ChatGPT authentication, account entitlement or usage mapping, or compatibility with the image generation extension.

What steps can reproduce the bug?

Steps to reproduce:
Open Codex in the Windows desktop app.
Start a new task.
Enter a simple prompt such as:
Generate an illustration of a blue butterfly under moonlight. Do not use any reference images.
Invoke the built-in image generation feature.
Wait for the request to complete.
The request fails at /backend-api/codex/images/generations with a network error.

What is the expected behavior?

Error when generating a new image:
image generation failed: network error: error sending request for url
(https://chatgpt.com/backend-api/codex/images/generations)
Error endpoint when reference images are used:
https://chatgpt.com/backend-api/codex/images/edits

Additional information

Environment:
Operating system: Windows
Desktop app version: 26.707.3748.0
Approximate occurrence time: July 11, 2026, UTC+8
Authentication method: ChatGPT account

Could you please investigate the following?
Whether the account is correctly entitled to use built-in gpt-image-2 generation in Codex.
Whether the /backend-api/codex/images/generations and /edits endpoints correctly receive and recognize the desktop app’s ChatGPT authentication token.
Whether version 26.707.3748.0 has a known compatibility issue with the image generation extension.
Whether the Windows app has received the latest build associated with the July 9 desktop integration.
Whether the app can expose the actual HTTP status or authentication error instead of presenting every failure as a generic network error.

Activity

  1. added
    bugSomething isn't working
    windows-osIssues related to Codex on Windows systems
    connectivityIssues involving networking or endpoint connectivity problems (disconnections)
    authIssues related to authentication and accounts
    on Jul 11, 2026
  2. github-actions commented on Jul 11, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. tonycky commented on Jul 24, 2026

    @tonycky
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

    appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingconnectivityIssues involving networking or endpoint connectivity problems (disconnections)imagenwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions