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

  • 16Views
  • Last Post 03 May 2019
0
votes
greg lurie posted this 02 May 2019

"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 03 May 2019

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