All error codes

credentials_required

HTTP 422 Provide a password or at least one SSH key

What happened

You created a server without a password and without any SSH keys. A password would be generated, but this API never returns it, so the server would have no way in for you.

What to do

Send password, ssh_keys, or both. SSH keys are given by id and must already exist in the project.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/credentials_required",
    "title": "Provide a password or at least one SSH key",
    "status": 422,
    "code": "credentials_required",
    "request_id": "a277dcd1ca652c65"
}

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