router_public_ip_required
HTTP 422 A router requires a public IPv4 address
What happened
A create request using a router image had no public_ipv4. Without an external address the router is unusable: it cannot be managed at all, and attaching any further network to it fails.
What to do
Add public_ipv4 to the body - {"new": true} for a fresh address, {"id": N} for an address the project already holds, or {"reuse": true} for any address of yours that is currently free.
Retrying
Fix the request and send it again.
How it arrives
{
"type": "https://docs.fiberax.com/errors/router_public_ip_required",
"title": "A router requires a public IPv4 address",
"status": 422,
"code": "router_public_ip_required",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.