You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows app: write_stdin blocked by granular sandbox_approval=false despite approval UI setting #50604
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
In the Windows desktop app, publishing a validated Sites update is blocked by the effective approval policy even when the UI is set to “Solicitar aprovação” (request approval). This is a personal account.
Observed behavior
The publication helper starts and waits for input. Sending the required input through write_stdin fails with:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
A separate network permission request reported permission granted, but write_stdin was still rejected before execution.
Checks already performed
Selected the request-approval option in the UI.
Restarted the app several times; the problem persisted.
Read-only inspection of ~/.codex/config.toml found no explicit approval_policy or sandbox_approval setting.
The project is marked trusted.
There is no project-level .codex/config.toml.
Source changes are committed and validated; publication has not completed.
Expected behavior
The app should either offer the required approval prompt or clearly identify which effective policy prevents it and provide a supported resolution that preserves approval safeguards.
Environment
Windows desktop app
Personal account, not Business/Enterprise
Exact app version not yet collected
OpenAI Help Center AI support suggested reporting this issue here. No credentials, session transcripts, or private project data are attached.
I’m also experiencing this on Windows in the Codex desktop app while publishing an existing Sites project.
“Ask for approval” is selected, and network permission was granted, but I receive:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
One credential handoff succeeded, but Git then failed with getaddrinfo() thread failed to start. After renewing network permission and restarting the helper, the policy rejection returned.
I disabled my VPN, closed all applications, and fully restarted the computer before retrying. Both errors persisted.
Submitted feedback ID: 01a11a23-1ec6-7eb0-b7ed-7a03dfa25974
Publication remains blocked.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
kowalcca-1885 commentedon Oct 8, 2026
I’m also experiencing this on Windows in the Codex desktop app while publishing an existing Sites project.
“Ask for approval” is selected, and network permission was granted, but I receive:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
One credential handoff succeeded, but Git then failed with getaddrinfo() thread failed to start. After renewing network permission and restarting the helper, the policy rejection returned.
I disabled my VPN, closed all applications, and fully restarted the computer before retrying. Both errors persisted.
Submitted feedback ID: 01a11a23-1ec6-7eb0-b7ed-7a03dfa25974
Publication remains blocked.