Skip to content

Codex CLI on macOS 26.1 returns “unexpected status 404 Not Found” for natural-language prompts (web-auth mode; models gpt-5-medium, 0.55/0.56) #6400

@G7CNF

Description

@G7CNF

What version of Codex is running?

codex-cli 0.56.0 (also 0.55.0)

What subscription do you have?

ChatGPT Plus

Which model were you using?

gpt-5-medium

What platform is your computer?

macOS 26.1 (Apple Silicon)

What issue are you seeing?

After updating to macOS 26.1 and installing Codex CLI 0.56.0 (and downgrading to 0.55.0), natural-language prompts cause Codex to return unexpected status 404 Not Found: 404 page not found. Slash commands like /status work, but any prompt such as creating a file or asking a question immediately returns this error. This happens even after clearing ~/.codex, removing the Codex keychain entry, unsetting API/proxy environment variables, and configuring web_mode=true, transport="web", model="gpt-5-medium". The issue appears specific to macOS 26.1.

What steps can reproduce the bug?

  1. Use a clean shell (no virtualenv) and install Codex CLI v0.56.0 via npm (the issue also occurs with v0.55.0).
  2. Delete ~/.codex and create a config with:
    web_mode = true
    transport = "web"
    model = "gpt-5-medium"
  3. Run codex --model gpt-5-medium.
  4. In the Codex prompt, run /status to verify the session.
  5. Enter any natural-language prompt, such as "Create a file docs/hello.md containing a single line: Hello from Codex on macOS 26.1" or "one sentence about macos 26.1".

What is the expected behavior?

Codex should perform the requested natural-language action (such as creating a file or generating a sentence) and not return an unexpected 404 error.

Additional information

Versions tested: codex-cli 0.56.0 and 0.55.0 (both exhibit the issue).
Subscription: ChatGPT Plus.
Model: gpt-5-medium.
Platform: macOS 26.1 (Apple Silicon).
All API-related environment variables are unset; no proxy settings.
State cleaned by deleting ~/.codex and removing the OpenAI Codex keychain entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions