«URL key for specified store already exists» after migration from Magento 1.x


(Xiaodong Lv) #1

Hey guys,

I migrated data from magento 1.x to 2.x and all things was good.
But when we tried to update a category, it says “URL key for specified store already exists.” and data is not saved. But it’s not for all categories. Only some categories couldn’t be saved.

So I run a mysql command(delete from url_rewrite where entity_type=‘category’ ) and mage2 command(bin/magento indexer:reindex).
But the problem is still teasing me.

Any helps?

(Dmitry Fedyuk) #2

What tool did you use for this migration?

(Xiaodong Lv) #3

I followed this way. http://devdocs.magento.com/guides/v2.0/migration/bk-migration-guide.html

(Dmitry Fedyuk) #4

The official Data Migration Tool has its own issue tracker: https://github.com/magento/data-migration-tool/issues
Report the issue there.
Also there is a related bug in the Magento 2 core:

(Xiaodong Lv) #5

Thanks for your concern. I reported the issue on the github project. I’m trying to fix the issue for 2 days, but it’s not being solved yet.

(Dmitry Fedyuk) #6

How to diagnose «URL key for specified store already exists»?