invalid_rule_number
HTTP 422 Priority must be between 2000 and 999000
What happened
A safeguard of the platform: the priority is outside the band 2000 to 999000. Through this API such a priority, or one that is not a whole number, is refused earlier as invalid_request naming the priority field. 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.