8 people reported
All time, since Sep 25, including 4 thumbs-up on GitHub.
401 Incorrect API key error
“I am seeing a persistent authentication failure in Codex CLI 0.157.0 when using ChatGPT authentication.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/codex/issues/15503/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
401 Incorrect API key despite ChatGPT login.
Is this your bug?
File my report- Where
- Authentication
- Error text
unexpected status 401 Unauthorized: Incorrect API key provided- Versions
- 0.156.1 to 26.917.6896.0
- Platforms
- Linux, macOS, Windows
- How bad
- Stops work: a core feature can't be used. Some reports say it blocks them completely.
Related: Codex requests fail with 401 "Incorrect API key" (sk-svcac) despite ChatGPT sign-in
Not quite your bug?
- Unexplained mid-session API key prompt5 people
- Prompts rejected as invalid_prompt3 people
- 401 invalid sk-svcac API key259 people
Original reports4, newest first
- 401 "Incorrect API key" on Codex 0.157.0 despite ChatGPT authenticationOn GitHub#48300
- Problems with /compact authentication. It saids that im using a wrong API Key but thats incorrect cause im logged in with ChatGPTOn GitHub#48290
- ChatGPT account and said: unexpected status 401 Unauthorized: Incorrect API key providedOn GitHub#48287
- Runtime crashOn GitHub#48231