router_field_not_supported
HTTP 422 A router image takes only a public address and one private network - the platform sets the name, the size and the credentials itself
What happened
A create request using a router image carried a field the platform sets itself: name, cores, memory_mb, disk_gb, plan_id, password, ssh_keys, setup or accept_license. Only a field with real content is refused - an empty list, an empty object, false and an empty string are ignored, so a generated client may send the full schema.
What to do
Remove the field that carries a value and keep only public_ipv4 and exactly one entry in networks. A router's size, name and credentials come from the platform and cannot be changed later either, so nothing is lost by omitting them.
Retrying
Fix the request and send it again.
How it arrives
{
"type": "https://docs.fiberax.com/errors/router_field_not_supported",
"title": "A router image takes only a public address and one private network - the platform sets the name, the size and the credentials itself",
"status": 422,
"code": "router_field_not_supported",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.