invalid_request
HTTP 422 Request is invalid
What happened
The request body or a query parameter failed validation: an unknown field or parameter, a missing required field, a value of the wrong type or outside the allowed range, a body that is not a JSON object, or a body sent to an endpoint that takes none. It is also used for a body that contradicts itself, such as a network id sent together with public set to true, and for an address the router cannot move to: its public address changes only within its own subnet, so an ip_id from a different subnet is refused before the router is touched. A query parameter is refused the same way - for example release_ips=yes on DELETE /v1/servers/{id}.
What to do
Read invalid_params in the response - each entry names the field and the reason - correct those fields and send the request again.
Retrying
Fix the request and send it again.
How it arrives
{
"type": "https://docs.fiberax.com/errors/invalid_request",
"title": "Request is invalid",
"status": 422,
"code": "invalid_request",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.