I can't import product category using csv source of Magento 2.

  • 9Views
  • Last Post 3 weeks ago
0
votes
greg lurie posted this 3 weeks ago

"ErrorDescription";"Id";"Sku";"Categories"
"The value for property 'Categories' of table 'Products' is not valid. The value must have a valid JSON array format.";"3";"dot001";"2,1274,2005,2006"

0
votes
Mariia Zaharova posted this 3 weeks ago

In Magento API the Categories field is an array of string, which contains category Ids. For example: ["9", "18", "23"] for several Ids or ["9"] for one Id.

Thus, please make sure that the 'CategoryId' column in your CSV file contains values in this format.

 

Please tell us if this information helps.

 

Best regards,

Mariia

Close