# v1.0.1 typed refusal codes of the chunk CLI Scripts that read `sw-block ops chunk` JSON answers should decide by the `code` field, never by the message text. v1.0.1 gives two refusals a code of their own: - **A restore refused because the snapshot names another volume's chunks** (a snapshot of a restore target): `"code":"restore_source_not_own"`, exit 1. It was the generic `"code":"not_admitted"`. The master marks this refusal with a typed reason, which the CLI maps; other refusals of the same kind stay `not_admitted`. - **A volume the master does not know** (catalog commands such as `ops chunk snapshots --volume NAME`): `"code":"volume_not_found"`, **exit 1**. It was `"code":"bad_request"` with **exit 2**. This is a contract change for scripts that check the exit status: exit 2 now means only a malformed command or another resolve failure. See [restore a snapshot into a new volume](../standalone-deployment.md#restoring-a-snapshot-into-a-new-volume).