Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

Removing or Updating Filter definitions with existing Segments

$
0
0

I have come across something that might be an unintended feature or bug.


I have created custom Filter Definitions using the Profile Store API. The customer has created some segments with these filters and then we discovered a bug in the KQL query the filter was using.  I resolved the query and then tried to remove or update the Filter Definition (using the DELETE or PUT options) but I received an error:
Profile Store API response: {"error":{"code":"409","message":"Filter definition cannot be altered because the following segments are defined by it: HM 3, HM 1","target":"","details":[]}}


Those segments were created by the editor, but produced no results and were archived by the user.  I know you cannot delete a segment.

So the problem is I want to update a Filter Definition, but the system won't let me because a segment exists even though those segments are archived.

Not sure if there is a way around this?  I could create a new Filter Definition, but this becomes very messy having redundant filters for the user to choose from in the UI.


Viewing all articles
Browse latest Browse all 8020

Trending Articles