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_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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.0Extra details:
<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