All error codes

router_not_running

HTTP 409 The router must be running for this operation

What happened

The router is powered off - switched off by you, or by the platform while the project is suspended. Everything that happens inside the router needs it running: attaching or detaching a network, reading and changing its access rules, port forwards, tunnels, devices and address handout. The detail names which case applies.

What to do

Start the router with POST /v1/servers/{id}/actions/power-on, wait for the task to finish, then repeat the same request with the same idempotency key. On a suspended project the router cannot be started: it runs again once the project is reactivated (pay the overdue invoice), and deleting the router with DELETE /v1/servers/{id} is allowed meanwhile.

Retrying

Change the state this refers to, then repeat the same request with the same idempotency key.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/router_not_running",
    "title": "The router must be running for this operation",
    "status": 409,
    "code": "router_not_running",
    "request_id": "a277dcd1ca652c65"
}

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