All error codes

name_required

HTTP 422 A name is required for this image

What happened

You are creating a server from an ordinary image and the body has no name. Routers are the one exception - they take no name at all, because the platform assigns it after the server is cloned.

What to do

Add "name" to the body. If you meant to create a router, check the image id first: when a router image cannot be found the request is handled as an ordinary one, and this is the error you see.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/name_required",
    "title": "A name is required for this image",
    "status": 422,
    "code": "name_required",
    "request_id": "a277dcd1ca652c65"
}

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