All error codes

disk_not_found

HTTP 404 Disk not found

What happened

The disk id in the path is not a slot on this server. The identifier is the slot name, such as scsi1, and it stops existing once that disk is deleted.

What to do

Read GET /v1/servers/{id}/disks and use an id from that list. A 503 storage_content_unavailable on the same path is a different situation - the disk configuration could not be read, not that the disk is missing.

Retrying

Repeating this request will not help.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/disk_not_found",
    "title": "Disk not found",
    "status": 404,
    "code": "disk_not_found",
    "request_id": "a277dcd1ca652c65"
}

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