All error codes

invalid_rule_number

HTTP 422 Priority must be between 2000 and 999000

What happened

The priority is outside the band 2000 to 999000, or is not a whole number. Numbers below 2000 belong to the platform's own rules.

What to do

Send a whole number between 2000 and 999000, or omit priority.

Retrying

Fix the request and send it again.

How it arrives

{
    "type": "https://docs.fiberax.com/errors/invalid_rule_number",
    "title": "Priority must be between 2000 and 999000",
    "status": 422,
    "code": "invalid_rule_number",
    "request_id": "a277dcd1ca652c65"
}

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