Boxport
Concepts

Failover and errors

What happens when a vendor says no, and what each error means.

If a create fails, Boxport tries the next provider in placement order in the same call. The response lists every attempt, so you can see which vendor refused and why.

Failure kinds#

KindMeansCounts against health
refusedThe vendor is out of capacity: busy, no machine ready, or a region or host full.Yes
limitYour own plan with that vendor said no: its rate limit, concurrency cap, quota or billing. Also a size over the vendor's largest. Health is pooled across accounts, so one account's plan never lowers a vendor's score for the others.No
timeoutThe vendor didn't answer in time.Yes
errorAnything else the vendor returned.Yes
authYour key for that vendor is wrong or expired. Fix it under Providers.No
vendor_changedThe vendor's reply is missing a field Boxport reads, or the field has a new type: the vendor changed its API. The message names the call and the field. Boxport fixes the adapter; nothing to do on your side.Yes

Before 2026-11-23 plan limits and sizes were reported as refused and counted against health; limit replaced them.

A provider with three failures in a row is skipped for 30 seconds. The scoreboard shows each vendor's success rate and, since 2026-11-23, how many creates across every account failover rescued in the last 30 days.

Your own account's numbers are on the dashboard and at GET /v1/report?days=30 (1 to 400 days, since 2026-11-23): creates, how many failover rescued and from which failure, and how many failed on every vendor. For each vendor it also gives what the creates it could have taken cost as routed and what they would have cost on that vendor alone, so you can read the row for the vendor you used before. Both are list-price estimates for the session length and busy share each create asked for.

Status codes#

CodeMeans
401Missing or wrong Boxport key.
402A spend cap would be exceeded, or the account has used its free allowance for the month (reason over_free_allowance). The body names the reason and what a person does next.
404Unknown sandbox or route.
413A file over 5 MiB.
501The vendor or the E2B drop-in can't do this yet; the message says what.
503No provider could take it; attempts lists each try.

Error bodies are {"error": "…", "next": "…"}, where next says what to do about it.