CLI authentication fails with 401 Unauthorized after retry limit

Resolved 💬 3 comments Opened Oct 21, 2025 by SystemSculpt Closed Oct 21, 2025

Issue

The Codex CLI fails to authenticate, repeatedly returning 401 Unauthorized errors before exceeding the retry limit.

Error Output

■ exceeded retry limit, last status: 401 Unauthorized, request id: 99210d09997d307d-SEA
■ exceeded retry limit, last status: 401 Unauthorized, request id: 992103f58e774224-SEA

Behavior

  • CLI attempts to connect/authenticate
  • Each attempt fails with 401 Unauthorized
  • After 5 retry attempts, the CLI exits
  • Request IDs consistently end with SEA region identifier

Expected

CLI should successfully authenticate and execute commands.

Extra Notes

  • I came across this using my typical internet, I even hopped onto a VPN to see if it was somehow that being the problem, nope, same thing/errors.

Request IDs from failed attempts: 99210d09997d307d-SEA, 992103f58e774224-SEA

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗