firewall_apply_failed
HTTP 503 The platform did not accept the firewall change
What happened
The platform refused part of the firewall change: setting the options, creating a rule, or removing an old rule failed. If a rule could not be created, the rules already created in that request are removed again and the set is left as it was. If an old rule could not be removed, or the firewall could not be switched on after the new rules were in place, the server is left in a partial state: the old rules alongside the new ones, or the declared rules with the previous on or off setting.
What to do
Read the firewall back to see what is actually in place, then send the same full desired state again later. Repeating the request converges on what you declared.
Retrying
The request itself is fine. Repeat it later. After a 5xx to a write request, read the resource first and repeat with a new idempotency key - the operation may have started - unless this page or the detail of the response says nothing was started or changed; then, as after a 409 or a 429, repeat the request as it is.
How it arrives
{
"type": "https://docs.fiberax.com/errors/firewall_apply_failed",
"title": "The platform did not accept the firewall change",
"status": 503,
"code": "firewall_apply_failed",
"request_id": "a277dcd1ca652c65"
}
Branch your code on code, never on the wording of title.