Skip to content

SBX_E1401 — NetworkPolicyViolation

Sandboxed code attempted egress the NetworkPolicy denies.

Fix

Add the host to `NetworkPolicy(allow=...)` on a backend that supports allowlists.

Class: sandboxio.errors.NetworkPolicyViolation · Inherits: SandboxError

Stable URL: https://docs.sandboxio.dev/errors/SBX_E1401. Codes are semver-covered API; this code will not be renamed or repurposed (ADR-0010).

← All error codes