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
[Windows 11] Codex Desktop 26.924.20706: 401 Incorrect API key across all projects with ChatGPT sign-in #48307
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
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:
Open Codex Desktop and sign in with ChatGPT.
Open a project and submit a prompt.
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.
appIssues related to the Codex desktop appauthIssues related to authentication and accountsbugSomething isn't workingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Sep 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Incorrect API key(sk-svcac...) while signed in with ChatGPT #48298Powered by Codex Action