Error 400 : No eligible ChatGPT workspaces found.
Resolved 💬 21 comments Opened Jul 11, 2025 by fabiopadok Closed Aug 11, 2025
What version of Codex is running?
codex-cli 0.4.0
Which model were you using?
N/A
What platform is your computer?
Darwin 24.5.0 arm64 arm
What steps can reproduce the bug?
codex login- Open window with login
- Connect through my professional account (which has ChatGPT Enterprise account)
Recieve the following output :
Route Error (400 ): {
"error": {
"message": "No eligible ChatGPT workspaces found.",
"type": "invalid_request_error",
"param": null,
"code": "chatgpt_account_missing"
}
}
What is the expected behavior?
My company has an Enterprise Workspace
I have access to Codex online, and wanted to use it with cli, but appear to be unable to connect to it using the codex login cli
What do you see instead?
_No response_
Additional information
I do have access to Codex online, but not through the CLI.
21 Comments
we faced the same issue.
the same here
facing this issue as well
same issue
same here
same issue
same issue
This seems to be related to #1243.
same here
Anyone had this issue on team plan with api access?
I think that is because Team, Enterprise and Edu Workspace are excluded for now.
https://help.openai.com/en/articles/11381614-codex-cli-and-sign-in-with-chatgpt
I also have the same issue on 0.16.0 (latest MacOS, npm version, on the Teams membership in UK):
... and apparently as of today it is included in paying accounts (option 1) - but this is not working:
<img width="563" height="289" alt="Image" src="https://github.com/user-attachments/assets/d62e417a-5f65-4396-8650-9944234225b4" />
_(Congrats on the GPT5 release today OpenAI team!)_
That might be outdated info, (Blogpost is from 3 months ago, not sure if updated after that) fwiw, readme was updated today referencing teams and other accounts (no enterprise 🤔)
https://github.com/openai/codex/pull/1948/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R101
Either way we saw a bunch of folks having issues not being able to link their team accounts
FWIW, same issue. Got a teams account, can
codex loginbut the account related to the teams (AKA organization paying) is not recognized, only the "free" one/statuson codex CLI<img width="238" height="76" alt="Image" src="https://github.com/user-attachments/assets/9236d51e-3164-4fea-b2ca-d808337a0522" />
<img width="194" height="271" alt="Image" src="https://github.com/user-attachments/assets/3a713630-fa79-44db-be0e-89843029cd1c" />
Seen a few other folks with the issue.
Same issue on my side with an enterprise account - after sign-in from the Codex CLI in the browser I see
Same issue here (Teams account):
Same, Teams account
Same issue, tried it on both my personal team account and my company team account. Really frustrating.
Same issue. Personal team account and work enterprise account.
I've confirmed this is fixed in v0.20.0 on macOS for teams plan - thanks OpenAI team!
Working for me as well! Thanks OpenAI, I'm closing this issue now