All error codes

gpus_required

HTTP 422 Error

What happened

You are creating a server on a type that is sold with graphics cards, and the request named no cards. Such a type exists to run cards: a server without them would hold its capacity for nothing.

What to do

Send gpus with at least one entry, for example [{"model": "l40s", "count": 1}]. GET /v1/server-types/{id}/pricing lists the models this type offers under gpu_models, and the key field there is exactly what model takes.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/gpus_required",
    "title": "Error",
    "status": 422,
    "code": "gpus_required",
    "request_id": "a277dcd1ca652c65"
}

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