Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1007.21434
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Windows 11 Pro, version 10.0.26200, x64
What issue are you seeing?
I cannot complete a Sites editing task in the Windows desktop app, even though “Ask for approval” is selected in the permissions menu.
My request was to add a few more object types to an existing fraction-learning website.
Steps to reproduce:
- Open a chat for an existing Site.
- Select “Ask for approval” in the permissions menu.
- Ask Codex to modify the Site.
- Codex retrieves the Site metadata and confirms owner access.
- When the Sites workflow helper is running and Codex attempts to provide its input through write_stdin, the action is rejected.
Exact error:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
Network permission requests were granted, but the write_stdin action was still rejected. No approval prompt for that rejected action appeared.
Expected behavior:
The editing workflow should proceed within the granted permissions, or show an approval prompt if additional permission is required.
Actual behavior:
The workflow stops before the Site source can be retrieved, and no changes are published.
I restarted the app and signed in again, but the same error persisted. Site creation also failed in another chat, although I have not confirmed whether that failure had the same error.
Feedback ID:
01a129d3-59ec-7870-9ef7-cc85c1312b13
Please investigate why this action is rejected with sandbox_approval=false while the UI shows “Ask for approval.”
What steps can reproduce the bug?
- Open the Windows desktop app and sign in.
- Set the permissions menu below the chat composer to “Ask for approval.”
- Open a chat for an existing Site that you own.
- Ask Codex to make a small change, such as: “Add a few more object types to this fraction-learning website.”
- Codex successfully retrieves the Site metadata and obtains a source repository credential.
- Codex launches the Sites workflow helper, which displays: “Ready for Site workflow JSON on stdin (input is hidden).”
- When Codex attempts to provide the workflow input using write_stdin, the tool call is rejected with:
write_stdin rejected: approval required by policy, but AskForApproval::Granular.sandbox_approval is false
No approval prompt for this action appears, and the Site editing workflow cannot continue.
The same error occurred after restarting the app and signing in again.
Feedback/session ID:
01a129d3-59ec-7870-9ef7-cc85c1312b13
Token and context-window usage at the time of failure: unknown.
What is the expected behavior?
With “Ask for approval” selected, Codex should complete the Sites editing workflow within the granted permissions. If additional permission is required, it should display an approval prompt.
If a policy prevents approval, the app should clearly explain the restriction and the available next steps, rather than stopping with an internal sandbox_approval error.
Additional information
In-app feedback has already been submitted.
Feedback ID: 01a129d3-59ec-7870-9ef7-cc85c1312b13
The app’s update checker reported that version 26.1007.21434 was up to date. Restarting the app and signing in again did not resolve the issue.
The permissions menu shows “Ask for approval.” I have a screenshot confirming this and can provide it if needed.
Activity
github-actions commentedon Oct 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action