Skip to content

Newly created ChatGPT Free account fails Codex account warmup with HTTP 404 #4126

Description

@Jiangxb8

Client or integration

Codex CLI

Provider or upstream service

OpenAI ChatGPT / Codex

OpenCodex version

2.47.0

Endpoint or capability

ChatGPT OAuth account warmup / Codex responses endpoint

Current behaviour

I already have two Codex accounts configured in OpenCodex.

When I try to add a third ChatGPT account through OpenCodex GUI using OAuth login, the browser authentication appears to complete successfully, but OpenCodex fails during the account warmup step.

The error shown in the GUI is:

Codex account warmup failed. Reauthenticate the account and try again. (http_status:404)

The third account was newly created today. It is currently a ChatGPT Free account with no paid subscription.

The account itself works normally on the ChatGPT website: I can sign in successfully and start normal conversations.

Re-authenticating the account produces the same HTTP 404 warmup error.

Image

Expected behaviour

After a successful ChatGPT OAuth login, OpenCodex should complete the Codex account warmup successfully and add the account to the account pool.

The account is a valid ChatGPT Free account and can sign in and use ChatGPT normally in the browser.

According to OpenAI's current documentation, Codex is available across ChatGPT plans, including the Free plan, although usage limits differ by plan.

Minimal redacted request or reproduction

Steps to reproduce:

1. Open OpenCodex GUI.
2. Go to the Codex account pool/account management page.
3. Select "Add Codex Account".
4. Enter a new account ID.
5. Select "OAuth Login".
6. Sign in with a newly created ChatGPT Free account.
7. Complete the ChatGPT OAuth authentication successfully.
8. Return to OpenCodex.
9. OpenCodex starts the Codex account warmup.
10. The warmup fails with HTTP 404.

Observed error:

`Codex account warmup failed. Reauthenticate the account and try again. (http_status:404)`

Additional details:

- OpenCodex version: 2.47.0
- This is the third Codex account I am trying to add.
- The first two accounts are already configured.
- The failing account was created today.
- The failing account has no paid subscription (ChatGPT Free).
- The account can log in and chat normally at chatgpt.com.
- Re-authentication does not resolve the problem.

Actual response or error

Codex account warmup failed. Reauthenticate the account and try again. (http_status:404)

Upstream documentation

https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan

Suggested mapping or implementation notes

It may be useful to check whether the Codex account warmup endpoint or model selection behaves differently for newly created ChatGPT Free accounts.

Since OAuth authentication succeeds but the subsequent warmup request returns HTTP 404, this may be related to the warmup request itself rather than authentication.

It may also be worth logging the redacted warmup request URL/model and response body when warmup fails, so that 401/403 authentication failures can be distinguished from 404 endpoint/model/account-provisioning failures.

Additional context and attachments

The affected account was created today and currently has no paid ChatGPT subscription.

However, the account works normally in the ChatGPT web interface and can create normal chat conversations.

The problem only occurs when OpenCodex performs the account warmup after OAuth login.

I have attached a screenshot of the OpenCodex error dialog.

If useful, I can provide additional OpenCodex debug logs with account/token information redacted.

Image

Checks

  • I searched existing provider and compatibility issues.
  • The request and response were redacted.
  • The expected behaviour is based on an upstream specification or a concrete client requirement.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    account-poolOAuth, credentials, Codex pool, quota, failover, plansproviderProvider adapters, OpenAI-compat presets, upstream API quirksprovider-compatibilityProvider compatibility reports

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions