Expand my Community achievements bar.

Converting multi-value entity attributes to single-value - already tried wiping and re-uploading catalog

Avatar

Level 2

There are a few multi-value entity attributes in my catalog that should be single-value. The documentation says to wipe and re-upload the entire catalog, but then it points to another document from 2018 that uses a legacy version of the API. 

 

I have wiped the entire catalog multiple times with the Recommendations API Delete Entities endpoint (which takes at least an hour to complete, so can be very frustrating). I confirmed I wiped the catalog successfully using Get Entity/Catalog Search endpoints.

 

Then I have tried re-uploading my CSV, in which the attributes are NOT formatted as multi-value, and the entities still repopulate as multi-value.

 

Do I have to use the legacy API referred to in the documentation? 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Employee Advisor

Hi @MarinCa ,

 

I encountered a similar issue in one of the projects where we implemented recommendations. According to the engineering team, once a multi-value attribute is populated, its type is set to an array in the backend, and it cannot be reverted to a single value (string). They recommended creating a new attribute with a different name and assigning a single value to it, which resolved the issue for us.