Skip to main content

A sandbox won't start or is stuck

Common reasons a sandbox is refused, and what to check.

S
Written by Sanjay Senthilkumar

A request that goes over a limit or breaks a policy is refused before anything starts. Check the error code in the response; it is stable.

Check the error code

Code or error

What it usually means

What to do

quota_exceeded (402 or 429)

You are at a plan limit: boxes at once, vCPU per box, memory, storage or hours.

Stop a sandbox you no longer need, use a smaller size, or see Plans and pricing.

policy_denied (403)

Your organization's policy does not allow that template, size or run time.

Ask an administrator, or pick an allowed option.

payment_required or EntitlementError

Your plan does not include it, or payment is required.

See Add or change a payment method. On Free, boxes above 2 vCPU are not available.

vault_env_refused

You may not read a Vault secret you named.

Ask for the permission, or remove it from the start.

rate_limited (429)

Too many requests.

Wait for the Retry-After seconds, then retry.

Kill switch error

Your organization's kill switch is on.

Ask an organization administrator.

region_unavailable or a region error

The region is not available to that call.

Use the US region, which is live now.

policy_unavailable, audit_unavailable or another 503

Sandscale fails closed: when it cannot check a policy or write the audit entry, it refuses.

Retry later with backoff.

Free plan limits

Free allows 3 boxes at once, up to 2 vCPU each, 2 GiB of memory per vCPU (at most 4 GiB a box and 8 GiB across your running boxes and workspaces), and 100 vCPU-hours a month. When the hours are used, new boxes wait until your hours renew and running boxes stop.

A sandbox ended or a workspace stopped on its own

If your plan's hours ran out (Free, or a paid plan with usage beyond your hours turned off), running boxes stop: sandboxes end, and workspaces stop with their disk kept. Start the workspace again once hours renew or you turn on usage beyond your plan, and snapshot sandboxes you want to keep. Pause boxes while your agent waits so they do not use hours.

A command will not run

A paused or ended sandbox answers with a 409 (ConflictError). Resume a paused sandbox, or start a new one. See ConflictError (409).

Check what you can start

The launch options call lists the templates you can start now, and whether each can start. Built-in template IDs look like builtin:python.

Still stuck? Email [email protected] with the sandbox ID, the region, what you expected and what happened, and the time (with a time zone). Never send secrets, keys or tokens.

Did this answer your question?