automation_rule_scope_immutable
The request tries to change the scope of an automation that already exists. Scope is fixed at creation because it decides whose events the rule observes, and changing it would reinterpret every run it has recorded so far.
| Code | Type | HTTP | Category |
|---|---|---|---|
automation_rule_scope_immutable | invalid_request_error | 422 | Automations |
Cause
The request tries to change the scope of an automation that already exists. Scope is fixed at creation because it decides whose events the rule observes, and changing it would reinterpret every run it has recorded so far.
What to do
Drop the field, or send it with the value the rule already has. To use the other scope, create a new automation and retire the previous one once it replaces it.
Related
All Automations error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.