Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product Import: Additional data: Invalid URL key #10697

Closed
Alex-James17 opened this issue Aug 29, 2017 · 17 comments
Closed

Product Import: Additional data: Invalid URL key #10697

Alex-James17 opened this issue Aug 29, 2017 · 17 comments
Assignees
Labels
bug report Component: ImportExport Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@Alex-James17
Copy link

Alex-James17 commented Aug 29, 2017

Actual Result

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.

Preconditions

Running Magento 2.2 on PHP 5.6.28 with MySQL 5.6.34 on MAMP under MacOS 10.12.6

Steps to reproduce

  1. System > Import > Products
  2. Choose "Add/Update
  3. Select a CSV file containing a "categories" column with a comma as the first character
  4. Click Check Data then Import

Expected Result

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).

@misha-kotov
Copy link

@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?

@Alex-James17
Copy link
Author

File attached, the comma should be in one of the values rows, not the header as per the attachment.

invalid-category.csv.zip

@misha-kotov
Copy link

Thanks - internal issue is MAGETWO-72101

@misha-kotov misha-kotov added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development and removed Progress: needs update labels Aug 30, 2017
@magento-engcom-team magento-engcom-team added 2.2.0-rc2 Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Component: ImportExport Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed and removed G1 Passed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 11, 2017
@avdb
Copy link

avdb commented Sep 26, 2017

I would like to look into this issue

@okorshenko
Copy link
Contributor

@avdb I've sent you an invite to join Magento Team on the GitHub. Please, accept the invite

@avdb
Copy link

avdb commented Sep 26, 2017

@okorshenko done

@okorshenko
Copy link
Contributor

@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

@okorshenko okorshenko added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Oct 4, 2017
@magento-team
Copy link
Contributor

Internal ticket to track issue progress: MAGETWO-80229

@magento-engcom-team
Copy link
Contributor

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.

@magento-engcom-team magento-engcom-team added the Fixed in 2.3.x The issue has been fixed in 2.3 release line label Feb 8, 2018
@allblued
Copy link

magento2.3.0
same problem

@csimby
Copy link

csimby commented Apr 2, 2019

Same problem at me too.

@ulukai-ork
Copy link

Magento 2.3.1 still buggy :(

@Misco
Copy link

Misco commented Apr 20, 2019

i get same error, exportet from shop, import this error 2.3.1

@danieljoeblack
Copy link

This issue is also happening when there are two slashes in a category.

ex. Atv/Filters//Fuel

This is on Magento 2.3.1

@Puru2016
Copy link

Puru2016 commented Feb 2, 2020

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.

@luluhAlkhamisi
Copy link

do you find the solution or not? it occurs to me

@ame5hca
Copy link

ame5hca commented Jan 20, 2021

Any solution to this issue. I am getting the same issue on my Magento 2.3.4 version.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: ImportExport Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests