All error codes

server_type_not_supported

HTTP 422 This server type cannot be used through the API

What happened

The operation does not apply to this server type, or to a router. Two cases produce it: creating an image from a server that has graphics cards, which the platform does not do at all, and operations that make no sense for a router, such as changing its resources or its disks.

What to do

No change to the request body makes these calls succeed. An image of a card server cannot be taken at all; a router's resources and disks are managed by the platform.

Retrying

Repeating this request will not help.

How it arrives

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

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