{"record":{"id":"ff0fcd777ed8ee6b","repo":"openai/codex","slug":"codex-sandbox-is-not-supported-on-this-operating","errorCode":null,"errorMessage":"`codex sandbox` is not supported on this operating system","messagePattern":"`codex sandbox` is not supported on this operating system","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"codex-rs/cli/src/main.rs","lineNumber":1669,"sourceCode":"            .await?;\n            #[cfg(target_os = \"linux\")]\n            codex_cli::run_command_under_landlock(\n                sandbox_cli,\n                arg0_paths.codex_linux_sandbox_exe.clone(),\n                loader_overrides,\n            )\n            .await?;\n            #[cfg(target_os = \"windows\")]\n            codex_cli::run_command_under_windows_sandbox(\n                sandbox_cli,\n                arg0_paths.codex_linux_sandbox_exe.clone(),\n                loader_overrides,\n            )\n            .await?;\n            #[cfg(not(any(target_os = \"macos\", target_os = \"linux\", target_os = \"windows\")))]\n            {\n                let _ = loader_overrides;\n                anyhow::bail!(\"`codex sandbox` is not supported on this operating system\");\n            }\n        }\n        Some(Subcommand::Debug(DebugCommand { subcommand })) => match subcommand {\n            DebugSubcommand::Models(cmd) => {\n                reject_remote_mode_for_subcommand(\n                    root_remote.as_deref(),\n                    root_remote_auth_token_env.as_deref(),\n                    \"debug models\",\n                )?;\n                run_debug_models_command(cmd, root_config_overrides).await?;\n            }\n            DebugSubcommand::AppServer(cmd) => {\n                reject_remote_mode_for_subcommand(\n                    root_remote.as_deref(),\n                    root_remote_auth_token_env.as_deref(),\n                    \"debug app-server\",\n                )?;\n                run_debug_app_server_command(cmd).await?;","sourceCodeStart":1651,"sourceCodeEnd":1687,"githubUrl":"https://github.com/openai/codex/blob/339751715c64496cb86246bfb3935f40e309dd3d/codex-rs/cli/src/main.rs#L1651-L1687","documentation":"Error \"`codex sandbox` is not supported on this operating system\" thrown in openai/codex.","triggerScenarios":"Thrown at codex-rs/cli/src/main.rs:1669 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"339751715c64496cb86246bfb3935f40e309dd3d","analyzedAt":"2026-08-25T05:35:09.876Z","schemaVersion":2},"datasetVersion":"2026-08-25T06:17:31.827Z"}