{"version":"2.1.331","anchor":"many-host-control-requests-now-return-an-unavailable-on-con","canonical_anchor":"many-host-control-requests-now-return-an-unavailable-on-con","heading":"Unavailable requests from host programs now return a machine-readable code","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/many-host-control-requests-now-return-an-unavailable-on-con","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Unavailable requests from host programs now return a machine-readable code\n\nRequests that cannot run on the current connection now return the code `unavailable_on_connection` alongside their error message\n\n**What**\n\nPrograms that control Claude Code, such as SDK apps or editor integrations, send it requests. SDK means the toolkit for building programs on top of Claude Code. Some requests are not supported on every kind of connection, and Claude Code answers those with the error \"is not available on this connection\". That error now also carries the code `unavailable_on_connection`. Before, the same error had no code.\n\nThe requests that now return the code are:\n\n- `get_status`\n\n- `export_conversation`\n\n- the cloud-session requests\n\n- `dictate`\n\n- `get_memory_dialog`\n\n- `get_skills_dialog`\n\n- `get_chrome_dialog`\n\n- `get_chrome_browsers`\n\n- `get_sandbox_dialog`\n\n**Why**\n\nA program that talks to Claude Code can now tell \"this connection does not support that\" apart from a real failure, without reading the wording of the message.\n\n- Area: SDK\n- Names: `unavailable_on_connection`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}