Business Codex unusable (USA region, Ubuntu dev container): repeated 401 "invalidated oauth token" / token revocation / forced phone verification on both seats
Open 💬 11 comments Opened Jun 17, 2026 by MoralStrike
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What issue are you seeing?
We are on ChatGPT Business with 2 seats. Both seats are affected.
Issue:
- We are in the US region
- Mac platform but with the Ubuntu dev container
- We log into Codex successfully.
- After only a couple of Codex messages, Codex returns 401 / authentication errors.
- Re-login temporarily works, then the token/session is revoked again.
- Both seats are being forced through phone/login confirmation repeatedly.
- This does not appear to be a Codex usage-limit issue; we are not seeing a usage-limit banner, and the error is 401 rather than 429.
- We attempted to request a refund/credit, but the support/chat flow also errors.
---
More context:
Got it ~3 weeks ago, haven't used it at all (a few messages on web, that's it).
Now tried to connect to Codex (both seats), and getting this nightmare.
What's worse, the bot to ask for a refund is refusing to work:
---
<img width="2632" height="1898" alt="Image" src="https://github.com/user-attachments/assets/b0926844-8d8f-4140-ba11-2be10ec687ed" />
What steps can reproduce the bug?
Just using Codex and after 1-2 messages getting 401 "invalidated oauth token"
What is the expected behavior?
To be able to use what I've paid for?
Additional information
Tons of business customers are complaining about the similar issues in:
https://github.com/openai/codex/issues/25246
Why are OpenAI ignoring us?
11 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Absolutely different.
I am seeing the same pattern on a paid Pro/Business-enabled account since around 2026-06-16 evening Asia/Shanghai.
Observed behavior:
Environment:
A Help Center support conversation has already been escalated to a support specialist. Please route this to the Codex auth/account team; the practical ask is either an account-side unblock or a secure non-phone verification path for Codex OAuth re-auth.
Update: still reproduces on 2026-06-18. Isolated CODEX_HOME
codex login --device-authredirects toauth.openai.com/add-phonebefore completing Codex OAuth. Support case 10188773 is open/escalated.Still reproduces.
Still happening.
(preventing an issue auto-close due to "inactivity").
got same problem kinda for several days, using Ubuntu with openclaw on 4 OpenAI workspace business accounts with an automatic oauth-switch to use token equally. Maybe working on this caused it, but I dont know. Edit: It somehow also btw revoked my codex token in vs code...
###
debug agent/embedded {"subsystem":"agent/embedded"} -: 2026-06-30T23:46:49.046298Z ERROR codex_models_manager::manager: models: 401 Unauthorized: Your a…tion . again., url: https://chatgpt.com/backend-api/codex/models?client_version=0.139.0, cf-ray: a1410d704c95d35e-FRA, : 401, *** code: token_invalidated
###
Somehow with minimal config I managed to fix it. I went with chatgpt 5.5 thinking though all possibilities for too many houres. I cleared all possible token locations, all sessions and finally I could connect over konsole - not over telegram. Maybe it was two calls at once causing the revoke of the auth-token. I let openclaw and chatty write this for you, I hope it helps you and your ai solving the issue:
###
I had a similar OpenClaw/Codex OAuth issue with repeated
401 token_revoked/token_invalidatederrors against:What helped was narrowing down the auth path instead of only reauthing blindly:
authProfileId. Make sure the failing Codex run actually uses the profile you expect.agent:main:bootCodex call.auth_profile_storeandauth_profile_stateonly after backing up the SQLite file.In my case I moved away old files like:
If this returns
HTTP 200, the token itself is valid and the issue is probably in the managed Codex app-server/session/cache path. If it returns401, the OAuth token is actually invalid for Codex and you need to reauth.For me, a fresh OAuth login plus removing stale Codex auth/cache files and then starting a console chat restored the managed Codex state. The exact root cause was not fully clear, but it was not simply
auth.order; it looked like stale/invalidated Codex OAuth state between OpenClaw’s SQLite auth store and the managed Codex app-server.###
The issue persists.
Still happening.
Still happening. Still getting invalidated. Still have to confirm our phone each time we re-authenticate.
Static IP, barely use the accounts.
Can OpenAI finally fix this?
If it still repro's for you too, please like the OP.
I think they track that.
Thanks