Skip to content

[Windows 11] Codex Desktop 26.924.20706: 401 Incorrect API key across all projects with ChatGPT sign-in #48307

Open

Description

@ipponbashi

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

26.924.20706

What subscription do you have?

ChatGPT sign-in; subscription tier not specified in this report.

What platform is your computer?

Windows 11

What issue are you seeing?

Since the morning of September 26, 2026 (JST, UTC+9), Codex Desktop has failed across all projects while using ChatGPT sign-in.

Error:

401 Unauthorized: Incorrect API key provided

This prevents me from using Codex in any project. The exact onset time and underlying cause are not yet confirmed.

What steps can reproduce the bug?

On the affected machine:

  1. Open Codex Desktop and sign in with ChatGPT.
  2. Open a project and submit a prompt.
  3. Observe the 401 error above. The same failure occurs across all projects.

Troubleshooting already attempted:

  • Signed out and signed back in with ChatGPT: no improvement.
  • Restarted the app: no improvement.
  • Updated the app: no improvement.
  • Regenerated auth.json and signed in again: no improvement.
  • Confirmed that the OPENAI_API_KEY environment variable is not set.
  • Confirmed that config.toml does not contain forced_login_method = "api".

What is the expected behavior?

Codex accepts the ChatGPT session and processes prompts without an incorrect-API-key error.

Additional information

Possibly related to #48237, which is tracking similar 401 errors. This report records the symptoms and troubleshooting results for my Windows 11 / Codex Desktop 26.924.20706 environment; I have not confirmed that the root cause is the same.

Please investigate why ChatGPT-authenticated requests are returning an incorrect-API-key error, and advise which additional diagnostics would help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appauthbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions