Codex Desktop on Windows hits 401 "Incorrect API key" despite ChatGPT sign-in

Just_Another_User80 · reddit · 2026-09-26

A ChatGPT Pro user reports Codex Desktop on Windows repeatedly failing with 401 Unauthorized: Incorrect API key provided: sk-svcac... even though auth mode is chatgpt, OPENAIAPIKEY in auth. is NULL, no API key exists in environment variables, no custom provider is configured, and re-login doesn't help. The error still references a nonexistent sk-svcac... credential, suggesting a server-side ChatGPT-to-Codex credential/session issue.

Related event: OpenAI Codex Suffers Hour-Long Global Outage; Paid Users to Get Usage Quota Reset(12 posts)→

Original post →

More from coding & agent

coding & agent channel →