Juggling accounts no longer possible

Resolved 💬 2 comments Opened Sep 19, 2025 by dlukt Closed Nov 2, 2025

What version of Codex is running?

codex-cli 0.39.0

Which model were you using?

gpt-5 minimal

What platform is your computer?

Linux 6.16.7-arch1-1 x86_64 unknown

What steps can reproduce the bug?

  • Auth with account 1
  • copy auth.json to auth-1.json
  • remove auth.json
  • Auth with account 2
  • copy auth.json to auth-2.json
  • remove auth.json
  • Auth with account 3
  • copy auth.json to auth-3.json
  • remove auth.json

Create shell scripts to copy auth-{1,2,3}.json to auth.json
Run shell script to copy auth-1 to auth
Work, hit your limits.
Run shell script to copy auth-2 to auth
See error message, 401 unauthorized.

What is the expected behavior?

It should work as before, no issues.

What do you see instead?

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 1/5 in 183ms…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 2/5 in 378ms…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 3/5 in 746ms…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 4/5 in 1.621s…

⚠️ stream error: exceeded retry limit, last status: 401 Unauthorized; retrying 5/5 in 3.205s…

Additional information

I worked with auth-3,which is a plus sub.
Hit limits.
Wanted to work with auth-1, which is also a plus sub.
No longer possible.

View original on GitHub ↗

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