Skip to content

Windows: Sites editing blocked by “sandbox_approval is false” despite “Ask for approval” being selected #53064

Open

Description

@hyodur

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:

  1. Open a chat for an existing Site.
  2. Select “Ask for approval” in the permissions menu.
  3. Ask Codex to modify the Site.
  4. Codex retrieves the Site metadata and confirms owner access.
  5. 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?

  1. Open the Windows desktop app and sign in.
  2. Set the permissions menu below the chat composer to “Ask for approval.”
  3. Open a chat for an existing Site that you own.
  4. Ask Codex to make a small change, such as: “Add a few more object types to this fraction-learning website.”
  5. Codex successfully retrieves the Site metadata and obtains a source repository credential.
  6. Codex launches the Sites workflow helper, which displays: “Ready for Site workflow JSON on stdin (input is hidden).”
  7. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugsandboxtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions