All error codes

server_type_not_found

HTTP 404 Server type not found

What happened

The server type id is not one your project may use here. It does not exist, it is disabled, or it is a restricted type that has not been made available to your project. Creating a server answers the same code when server_type_id names such a type.

What to do

Read GET /v1/server-types - it lists exactly the types this project may order and nothing else - then use an id from that list. Access is decided per project, so an id that works for one project can legitimately answer 404 for another.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/server_type_not_found",
    "title": "Server type not found",
    "status": 404,
    "code": "server_type_not_found",
    "request_id": "a277dcd1ca652c65"
}

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