When performing a product import with a category field which begins with a comma, a General Exception is raised with a spurious error message and no rows are imported.
Running Magento 2.2 on PHP 5.6.28 with MySQL 5.6.34 on MAMP under MacOS 10.12.6
I would expect the error message to indicate an issue with the clearly invalid category field (column 5 in my file) rather than pointing at the url_key field (column 18 in my file).
@Alex-James17 can you attach a sample file please.
And can you clarify - does the column header value have the comma or the values under the header?
File attached, the comma should be in one of the values rows, not the header as per the attachment.
Thanks - internal issue is MAGETWO-72101
I would like to look into this issue
@avdb I've sent you an invite to join Magento Team on the GitHub. Please, accept the invite
@okorshenko done
@Alex-James17, thank you for your report. The issue is already fixed in 2.2-develop branch (PR: #11049 by @avdb) and will be available in the Magento 2.2.2 release
Internal ticket to track issue progress: MAGETWO-80229
Hi @Alex-James17. Thank you for your report.
The issue has been fixed in magento-engcom/magento2ce#1361 by @magento-engcom-team in 2.3-develop branch
Related commit(s):
The fix will be available with the upcoming 2.3.0 release.
magento2.3.0
same problem
Same problem at me too.
Magento 2.3.1 still buggy :(
i get same error, exportet from shop, import this error 2.3.1
This issue is also happening when there are two slashes in a category.
ex. Atv/Filters//Fuel
This is on Magento 2.3.1
I am still facing this issue in 2.3.2.
I have already created categories and importing the products using CSV.
I am getting same error:-
Additional data: Invalid URL key
Please let me know what is proper fix for this issue.
do you find the solution or not? it occurs to me
Most helpful comment
magento2.3.0
same problem