All error codes

not_a_router

HTTP 422 This server is not a router

What happened

A router-only operation was addressed to a server that is not a router - DHCP settings, the router API key, the router firewall, port forwards or the external address.

What to do

Send the operation to a server created from a router image. Read GET /v1/servers/{id} first if you are not certain which server in the project is the router.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/not_a_router",
    "title": "This server is not a router",
    "status": 422,
    "code": "not_a_router",
    "request_id": "a277dcd1ca652c65"
}

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