All error codes

disk_locked

HTTP 409 Disk is locked by a snapshot

What happened

You asked to resize or delete a disk that a snapshot still holds. Carrying the change through would break the snapshot chain, so the platform refuses.

What to do

A snapshot holding a disk cannot be removed through this API or through your control panel, so this block does not clear by itself. Contact support to have the snapshots on this disk removed, then repeat the same request.

Retrying

Change the state this refers to, then repeat the same request with the same idempotency key.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/disk_locked",
    "title": "Disk is locked by a snapshot",
    "status": 409,
    "code": "disk_locked",
    "request_id": "a277dcd1ca652c65"
}

Branch your code on code, never on the wording of title.