codex - 💡(How to fix) Fix Error starting chat invalid turn context override: invalid value for `approval_policy`: `OnRequest` is not in the allowed set [UnlessTrusted] (set by cloud requirements) [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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#22060Fetched 2026-05-11 03:19:55
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2closed ×1

Error Message

Getting the below error for any request. works fine with my private account. have tried various cmd line options like '--ask-for-approval untrusted' and also for ChatGPT to help. doesn't work. Error: Error starting chat

RAW_BUFFERClick to expand / collapse

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

Version 26.506.31421 (2620)

What subscription do you have?

Enterprise (Oracle)

What platform is your computer?

Mac latest

What issue are you seeing?

Getting the below error for any request. works fine with my private account. have tried various cmd line options like '--ask-for-approval untrusted' and also for ChatGPT to help. doesn't work.

Error: Error starting chat invalid turn context override: invalid value for approval_policy: OnRequest is not in the allowed set [UnlessTrusted] (set by cloud requirements)

What steps can reproduce the bug?

Uploaded thread: 91054e69-149e-4eda-aa94-8e1be6170d9c

What is the expected behavior?

to run.

Additional information

No response

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