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?

  1. codex login
  2. Open window with login
  3. 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.

View original on GitHub ↗

21 Comments

tykim9999 · 1 year ago

we faced the same issue.

Nyarum · 1 year ago

the same here

kunaals · 1 year ago

facing this issue as well

sernote · 1 year ago

same issue

lockster-at-secondskin · 1 year ago

same here

frabottini · 1 year ago

same issue

sjach88 · 1 year ago

same issue

rbugajewski · 12 months ago

This seems to be related to #1243.

codesunicorn · 11 months ago

same here

NPM8 · 11 months ago

Anyone had this issue on team plan with api access?

percu · 11 months ago

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

MrSimonC · 11 months ago

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:

<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!)_

fforres · 11 months ago
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

fforres · 11 months ago

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

  • /status on codex CLI

<img width="238" height="76" alt="Image" src="https://github.com/user-attachments/assets/9236d51e-3164-4fea-b2ca-d808337a0522" />

  • chatgpt

<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.

Ynnck123 · 11 months ago

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"
  }
}
mwormgoor · 11 months ago

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"
  }
}
vladkosarev · 11 months ago

Same, Teams account

Route Error (400 ): {
  "error": {
    "message": "No eligible ChatGPT workspaces found.",
    "type": "invalid_request_error",
    "param": null,
    "code": "chatgpt_account_missing"
  }
}
nspady · 11 months ago

Same issue, tried it on both my personal team account and my company team account. Really frustrating.

ATLucas · 11 months ago

Same issue. Personal team account and work enterprise account.

MrSimonC · 11 months ago

I've confirmed this is fixed in v0.20.0 on macOS for teams plan - thanks OpenAI team!

fabiopadok · 11 months ago

Working for me as well! Thanks OpenAI, I'm closing this issue now