All error codes

image_not_supported

HTTP 422 This image cannot be used through the API

What happened

You asked to create a server from one of your own uploaded ISO images. That installation is driven by you in the installer, with no password or SSH keys applied, so it is a different flow and is not offered on server creation.

What to do

Create the server from an image in the server type's image catalogue. If you need your own ISO, create the server first and attach the ISO to it afterwards.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/image_not_supported",
    "title": "This image cannot be used through the API",
    "status": 422,
    "code": "image_not_supported",
    "request_id": "a277dcd1ca652c65"
}

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