All error codes

router_rule_not_editable

HTTP 409 This rule has conditions the API cannot express and can only be deleted

What happened

The rule carries conditions this API cannot express - it was written by hand inside the router. Changing only the fields the API knows would leave the rest in place and produce a rule nobody asked for. The extra field of the rule lists those conditions.

What to do

Change the rule inside the router itself, or delete it through the API and create a new one with the fields you need.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/router_rule_not_editable",
    "title": "This rule has conditions the API cannot express and can only be deleted",
    "status": 409,
    "code": "router_rule_not_editable",
    "request_id": "a277dcd1ca652c65"
}

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