Bug: In-app browser fails with missing sandboxPolicy runtime field
Open 💬 0 comments Opened Jul 15, 2026 by lauramiro
Summary
The Codex in-app browser is failing because the runtime reports a missing sandboxPolicy field. This appears to be a Codex host/runtime issue rather than an issue with my local app.
What I tried
- Restarted the Codex app.
- Opened the repository in a fresh Codex session.
- Started the app normally with
npm run dev. - Opened
http://localhost:3000in a regular browser, where the app works. - Retried the in-app browser after the restart/new session.
Expected behavior
The in-app browser should open and interact with http://localhost:3000 without requiring any undocumented runtime field.
Actual behavior
The in-app browser fails with this error:
Mcp error: -32602: js: codex/sandbox-state-meta: missing field `sandboxPolicy`