Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.91 ·

Sandbox Unavailable Error in Stream-JSON Mode

Entry
JSON All of v2.1.91
EntryKind: in v2.1.91,
ChangesSection of the release
What

When running in headless mode (--output-format stream-json) and the sandbox is required but unavailable, Claude Code now emits a proper JSON error result instead of only writing to stderr.

Details
  • Error message includes: "Sandbox required but unavailable: {reason}. Set sandbox.failIfUnavailable=false to allow unsandboxed execution."
  • The JSON result includes all standard fields (session_id, uuid, duration, etc.) for proper parsing by automation tools
Evidence

Headless sandbox error handling (search for "Sandbox required but unavailable:")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.91 →

Feedback