All error codes

router_target_not_in_network

HTTP 409 The target is not inside a private network of this router

What happened

The target address is not inside any private network attached to this router. A forward to an outside address would turn the router into a relay for someone else's traffic.

What to do

Use an address from a network listed by GET /v1/servers/{id}/router/networks, or attach the network first with PUT /v1/networks/{id}/router, then repeat with the same idempotency key.

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_target_not_in_network",
    "title": "The target is not inside a private network of this router",
    "status": 409,
    "code": "router_target_not_in_network",
    "request_id": "a277dcd1ca652c65"
}

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