Skip to content

VSCode Codex Version 26.818.41509 unexpected status 401 Unauthorized #40073

Closed

Description

@Crish07

What version of the IDE extension are you using?

26.818.41509

What subscription do you have?

plus

Which IDE are you using?

VS Code 1.134.0

What platform is your computer?

Darwin 22.6.0 x86_64 i386

What issue are you seeing?

I get the following trying any prompt.

vscode -- output -- codex:

[error] [CodexMcpConnection] cli: message="codex_models_manager::manager: failed to refresh available models: unexpected status 401 Unauthorized: {"detail":"Unauthorized"}, url: https://chatgpt.com/backend-api/codex/models?client_version=0.149.0..."

What steps can reproduce the bug?

N/A

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    extension
    on Aug 22, 2026
  2. added
    bug
    auth
    on Aug 22, 2026
  3. github-actions commented on Aug 22, 2026

    @github-actions
    Contributor
  4. Grallen commented on Aug 22, 2026

    @Grallen

    Same here:
    Version 149.0
    codex_models_manager::manager: failed to refresh available models: unexpected status 401 Unauthorized: {"detail":"Unauthorized"}, url: https://chatgpt.com/backend-api/codex/models?client_version=0.149.0

    Extra details:

    • I have codex still working on a second vm.
    • Log out --> delete auth.json --> delete cache directory --> log in --> Same error.
    • Downgrade to 0.148.0 --> Works fine, didn't even have to login again.
  5. Crish07 commented on Aug 24, 2026

    @Crish07
    Author
    Image Image

    I have downgraded the vscode extension has continuously downgraded to the corresponding version as shown in the figure, all reporting Codex process errored: Codex process is not available

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

    authbugextension

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions