How to resolve Panther Error "Failed to upload a rule: trying to replace a RULE with a SCHEDULED_RULE" when converting rule types
Last updated: April 27, 2026
Issue
When trying to convert an existing rule to a scheduled rule by changing the rule type in the YAML configuration, the following error occurs:
Error: Failed to upload a rule: trying to replace a RULE with a SCHEDULED_RULE
Resolution
To resolve this issue:
Delete the existing rule first, then create a new scheduled rule with the scheduled rule YAML format
Alternatively, use a different ID for your scheduled rule so it doesn't conflict with the existing rule
Cause
This issue occurs because Panther has an explicit validation that prevents changing a detection's type. You cannot directly convert a rule to a scheduled rule by simply modifying the rule type in the YAML configuration.