Error 400 : No eligible ChatGPT workspaces found.
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.
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):
Oops, an error occurred!
Route Error (400 ): {
"error": {
"message": "No eligible ChatGPT workspaces found.",
"type": "invalid_request_error",
"param": null,
"code": "chatgpt_account_missing"
}
}
... and apparently as of today it is included in paying accounts (option 1) - but this is not working:
(Congrats on the GPT5 release today OpenAI team!)
I think that is because Team, Enterprise and Edu Workspace are excluded for now. help.openai.com/en/articles/11381614-codex-cli-and-sign-in-with-chatgpt
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 login but the account related to the teams (AKA organization paying) is not recognized, only the "free" one
-
/statuson codex CLI -
chatgpt
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
Route Error (400 ): {
"error": {
"message": "No eligible ChatGPT workspaces found.",
"type": "invalid_request_error",
"param": null,
"code": "chatgpt_account_missing"
}
}
Same issue here (Teams account):
Route Error (400 ): {
"error": {
"message": "No eligible ChatGPT workspaces found.",
"type": "invalid_request_error",
"param": null,
"code": "chatgpt_account_missing"
}
}
Same, Teams account
Route Error (400 ): {
"error": {
"message": "No eligible ChatGPT workspaces found.",
"type": "invalid_request_error",
"param": null,
"code": "chatgpt_account_missing"
}
}
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!