After successfully completed migrate:settings,

php bin/magento migrate:settings --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/

getting error while running migrate:data,

php bin/magento migrate:data --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/

enter image description here

How to solve the error?

  • Please check /var/migration.log file and let me know your detail issue. Also, remove or ignore any third party module's table if present.
    – Sumit
    Commented Nov 13, 2019 at 10:48
  • @Sumit Here is my log -> paste.ofcode.org/pCwKQY6dEPcB9vJjyJkEEj any help?
    – zus
    Commented Nov 13, 2019 at 10:52
  • Issue is with the data mapping in your map.xml
    – Sumit
    Commented Nov 13, 2019 at 11:08
  • @Sumit What i need to do?
    – zus
    Commented Nov 13, 2019 at 11:13
  • 1
    Yes Zus, you can try this solution for your issue.
    – Sumit
    Commented Nov 13, 2019 at 11:54

1 Answer 1


Its likely that you're missing some other errors that happened earlier.

The Inventory Step is the last step in the integrity check stage and the migration tool runs all steps in the integrity check stage, even if one of them throws an exception. Problems occurring anywhere during the integrity check stage get reported at the end of it, not the step at which they occur.

If you look at at \Migration\Mode\Data::runIntegrity, you can see it has a foreach loop, which runs all steps in the integrity check stage, but it only checks if these steps completed successfully after the loop and throws the Integrity Check Failed exception if any one of the steps failed.

Chances are that you'll have red errors further up the output. As suggested in the comments above you need to carefully review your /var/migration.log file to find out what step in the integrity check is actually failing and why.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.