All error codes

firewall_changed_concurrently

HTTP 409 The firewall was changed by someone else during this request

What happened

The firewall of this server changed while your request was running - either somebody edited it in the control panel, or the platform did not finish moving a rule your request had just created. The platform tries to remove the rules it added, but it cannot guarantee the set is untouched, so read the firewall again before deciding what to do.

What to do

Read `GET /v1/servers/{id}/firewall` again, rebuild your rule set on top of what you get, and send the request with the same key again.

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/firewall_changed_concurrently",
    "title": "The firewall was changed by someone else during this request",
    "status": 409,
    "code": "firewall_changed_concurrently",
    "request_id": "a277dcd1ca652c65"
}

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