This article provides a patch for the known Adobe Commerce 2.2.3 issue related to getting errors when trying to import a
.csv file with products information if there are products with the same name.
.csv file with products information is imported, and there are products with the same name, you get the following error on the Check Data step: "
URL Key XYZ was already generated for an item with the SKU %sku%". The issue is caused by rewriting the products’ URLs during import, even when there’s no column for products’ URLs in the imported
Steps to reproduce:
.csvfile to import data for those products, which has for example these columns:
No issues found; you can import the
.csv file successfully.
The following error message is displayed: “URL Key XYZ was already generated for an item with the SKU %sku%”, it is not possible to import the file.
The patch is attached to this article. To download it, scroll down to the end of the article and click the file name or click the following link:
The patch was created for:
The patch is also compatible (but might not solve the issue) with the following Adobe Commerce editions and versions:
See How to apply a composer patch provided by Adobe Commerce in our support knowledge base for instructions.
Apply custom patches to Adobe Commerce on cloud infrastructure