plan_required
HTTP 422 This server type requires a plan
What happened
You are creating a server on a server type that sells ready-made plans, and the body has no plan_id. On those server types the plan defines the size, so there is nothing to fall back on.
What to do
Read GET /v1/server-types/{id}/pricing, pick a plan and send its id as plan_id. Do not send cores, memory_mb or disk_gb alongside it - those are refused on this family of server types.
Retrying
Fix the request and send it again.
How it arrives
{
"type": "https://docs.fiberax.com/errors/plan_required",
"title": "This server type requires a plan",
"status": 422,
"code": "plan_required",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.