If you are trying to publish a change to your settings, but you're encountering an error: "Duplicate 'rule' property provided for store type(s): scripts" or "Duplicate 'rule' property provided for store type(s): cookies"This indicates that you have a duplicate rule within either your scripts or cookies section. In order to remove the error and publish, the duplicitous rule must be removed.
Depending on which section is called out in the error above, go to the Scripts or Cookies tab in your Osano platform.
Switch to the Rules tab.
If there are duplicate rules in this section, a banner will appear across the top, notifying you of the duplicates.
There will be a Delete button at the end of the banner.
Click the button to delete the duplicate rules, allowing you to publish.
Switch to the Ignored section and use the Filter* icon to filter out unpublished rules.
Make a note of any duplicate unpublished rules.
Return to the Rules section and search for the same scripts there.
Delete the duplicate rule from either the Rules section or the Ignored section, whichever applies.
If you cannot identify the duplicate and there is no banner notification, it's possible that a script or cookie was previously Ignored but also remains in the Rules section. The platform currently does not provide a way to identify such duplicates, so you may need to compare unpublished scripts across managed and ignored manually.
If this still doesn't resolve your issue, feel free to reach out to our support team for further assistance.