codex icon indicating copy to clipboard operation
codex copied to clipboard

Error 400 : No eligible ChatGPT workspaces found.

Open fabiopadok opened this issue 1 year ago • 21 comments

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.

fabiopadok avatar Jul 11 '25 13:07 fabiopadok

we faced the same issue.

tykim9999 avatar Jul 13 '25 09:07 tykim9999

the same here

Nyarum avatar Jul 13 '25 11:07 Nyarum

facing this issue as well

kunaals avatar Jul 13 '25 23:07 kunaals

same issue

sernote avatar Jul 16 '25 11:07 sernote

same here

lockster-at-secondskin avatar Jul 17 '25 05:07 lockster-at-secondskin

same issue

frabottini avatar Jul 17 '25 19:07 frabottini

same issue

sjach88 avatar Jul 18 '25 08:07 sjach88

This seems to be related to #1243.

rbugajewski avatar Jul 21 '25 12:07 rbugajewski

same here

codesunicorn avatar Jul 31 '25 14:07 codesunicorn

Anyone had this issue on team plan with api access?

NPM8 avatar Aug 04 '25 11:08 NPM8

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

percu avatar Aug 06 '25 07:08 percu

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:

Image

(Congrats on the GPT5 release today OpenAI team!)

MrSimonC avatar Aug 07 '25 21:08 MrSimonC

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 avatar Aug 07 '25 22:08 fforres

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 Image

  • chatgpt Image

Seen a few other folks with the issue.

fforres avatar Aug 07 '25 22:08 fforres

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"
  }
}

Ynnck123 avatar Aug 08 '25 07:08 Ynnck123

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"
  }
}

mwormgoor avatar Aug 08 '25 09:08 mwormgoor

Same, Teams account

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

vladkosarev avatar Aug 08 '25 15:08 vladkosarev

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

nspady avatar Aug 08 '25 17:08 nspady

Same issue. Personal team account and work enterprise account.

ATLucas avatar Aug 08 '25 17:08 ATLucas

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

MrSimonC avatar Aug 09 '25 10:08 MrSimonC