Affected: All SDKs
Symptoms
A custom attribute you've stopped sending in your SDK contexts still appears as a selectable option in the attribute picker when building targeting rules on a feature flag.
You may have removed the attribute from your codebase weeks or months ago, but it still appears in the attribute dropdown.
Cause
The attribute picker in targeting rules is populated from a context attribute name index. This index uses a monthly retention window and shows any attributes that were sent during the current or previous calendar month.
This retention window is separate from the 30-day context instance expiration. Context instances expire after 30 days of inactivity, but the attribute name index operates on its own monthly cycle.
If you stopped sending an attribute mid-month, it will remain visible in the picker until the end of the following month. For example, if the last context containing the attribute was sent in April, the attribute will remain in the picker throughout May and disappear at the start of June.
Solution
There is no way to remove the attribute manually. Stop sending the attribute in your SDK contexts. The attribute will automatically disappear from the picker once it has not been sent during the current or previous calendar month.
Resources