codex - 💡(How to fix) Fix Error starting chat invalid configuration unknown variant wsL2, expected of unelevated in windows sandbox [1 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#21364Fetched 2026-05-07 03:41:10
View on GitHub
Comments
0
Participants
1
Timeline
6
Reactions
0
Participants
Timeline (top)
labeled ×6

Error Message

Error starting chat invalid configuration unknown variant wsL2, expected unelevated in Windows sandbox. Every time I hit Enter, this prompt appears, and I can't fix the error because of the Codex response and the system prompt. Codex was not able to use the sandbox, so I went with the wsL2 setup, and now this error. It is unusable. I am new at this, so I really need help.

Root Cause

Error starting chat invalid configuration unknown variant wsL2, expected unelevated in Windows sandbox. Every time I hit Enter, this prompt appears, and I can't fix the error because of the Codex response and the system prompt. Codex was not able to use the sandbox, so I went with the wsL2 setup, and now this error. It is unusable. I am new at this, so I really need help.

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

codex-cli 0.128.0

What subscription do you have?

Microsoft Windows NT 10.0.26200.0 x64

What platform is your computer?

No response

What issue are you seeing?

Error starting chat invalid configuration unknown variant wsL2, expected unelevated in Windows sandbox. Every time I hit Enter, this prompt appears, and I can't fix the error because of the Codex response and the system prompt. Codex was not able to use the sandbox, so I went with the wsL2 setup, and now this error. It is unusable. I am new at this, so I really need help.

What steps can reproduce the bug?

Uploaded performance trace: 2733e900-e12e-4f72-bc78-dddeec05e75a

What is the expected behavior?

No response

Additional information

<img width="781" height="547" alt="Image" src="https://github.com/user-attachments/assets/f4eaa5a6-d80e-47a3-9aa1-6056314cbd02" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING