All error codes

image_in_use

HTTP 409 This image is inserted into a server

What happened

You asked to delete an image that is currently inserted into one of your servers. Deleting the file would leave that server's drive pointing at something that no longer exists.

What to do

Eject it with `DELETE /v1/servers/{id}/iso` on the server that holds it, 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/image_in_use",
    "title": "This image is inserted into a server",
    "status": 409,
    "code": "image_in_use",
    "request_id": "a277dcd1ca652c65"
}

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