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

Quiet. No reports and thumbs-up in the last two weeks, down from 8 a week at the late-September peak.

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?

  1. Unexplained mid-session API key prompt5 people
  2. Prompts rejected as invalid_prompt3 people
  3. 401 invalid sk-svcac API key259 people

Original reports4, newest first

  1. 401 "Incorrect API key" on Codex 0.157.0 despite ChatGPT authenticationOn GitHub#48300
  2. Problems with /compact authentication. It saids that im using a wrong API Key but thats incorrect cause im logged in with ChatGPTOn GitHub#48290
  3. ChatGPT account and said: unexpected status 401 Unauthorized: Incorrect API key providedOn GitHub#48287
  4. Runtime crashOn GitHub#48231

Do you work on Codex?

Claim its RAP Sheet to see what your users report and answer them in one place.