Converting multi-value entity attributes to single-value - already tried wiping and re-uploading catalog | Community
Skip to main content
MarinCa
Level 2
February 6, 2025
Question

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

  • February 6, 2025
  • 1 reply
  • 624 views

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? 

1 reply

Gaureshk_Kodag
Adobe Employee
Adobe Employee
February 7, 2025

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.