All error codes

rebuild_password_not_supported

HTTP 422 This server boots from installer media, so a password cannot be applied

What happened

You asked to reinstall a server that boots from installer media and sent a password with the request. That server returns to its installer, and there is no channel to deliver a password into it - the credentials are typed in by hand during installation.

What to do

Send the reinstall request without the password field and set the credentials in the installer. For an ordinary server, change the password afterwards with POST /v1/servers/{id}/actions/reset-password.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/rebuild_password_not_supported",
    "title": "This server boots from installer media, so a password cannot be applied",
    "status": 422,
    "code": "rebuild_password_not_supported",
    "request_id": "a277dcd1ca652c65"
}

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