I'm trying to upload a configurable product with product variations. This did work fine for a while, but now I get this error:
1. Specified URL key already exists in rows: 3
If I analyze the function that validates the row (
vendor/magento/module-catalog-import-export/Model/Import/Product.php L:2242) I can see that Magento builds an array with URL keys that already imported. The first item keeps it's capitals, the second item is all lower case (that's why this line does pass the validator). The third line is also all lowercase because this is already in the array
urlKeys the validator throws an error.
The product in row 3 is a virtual product. I thought virtual products did not need this URL-key option (this did work fine). Why do I get this error?