All error codes

network_has_no_router

HTTP 409 No router is linked to this network

What happened

You asked to unlink a router from a network that has none linked. Nothing was changed.

What to do

Read `GET /v1/networks/{id}`: if the router field is empty, the network is already in the state you wanted. If you meant a different network, send the request against that one.

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/network_has_no_router",
    "title": "No router is linked to this network",
    "status": 409,
    "code": "network_has_no_router",
    "request_id": "a277dcd1ca652c65"
}

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