Skip to main content

RESULT_CODE_INVALID_SANDBOX_STATE: Invalid sandbox state

WebView2 detected an invalid state in the sandbox that isolates processes. The code indicates an isolation problem, not necessarily an attack. Microsoft lists 31 for RESULT_CODE_INVALID_SANDBOX_STATE.

What to check​

  1. Check whether the failure began after a WebView2, Windows or endpoint security update.
  2. Ask your administrator to compare the affected devices' security settings with a working device without changing the protections.

Official reference​

Microsoft Learn: WebView2 failure, General process exit codes