VSCode Codex Version 26.818.41509 unexpected status 401 Unauthorized

Open 💬 3 comments Opened Aug 22, 2026 by Crish07
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 6 days ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #39883
  • #38679

Powered by Codex Action

Grallen · 5 days ago

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.
Crish07 · 4 days ago

<img width="1494" height="621" alt="Image" src="https://github.com/user-attachments/assets/e1489b00-c0af-4273-a37e-d369ff651bc2" />

<img width="617" height="498" alt="Image" src="https://github.com/user-attachments/assets/b241b852-8671-44d7-b551-b6da086a1692" />

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