I got below error while I am trying to Migrate from Magento1 to Magento2.

Foreign key (FK_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_ID_EAV_ATTRIBUTE_ATTRIBUTE_ID) constraint fails on source database. Orphan records id: 121,163,164 from eav_entity_attribute.attribute_id has no referenced records in eav_attribute

I would not like to delete records from Magento 1 database.

I got to keep the records, disable the Data Integrity Step by modifying the Data Migration Tool’s config.xml. in this link to solve this error.

How can I disable the Data Integrity Step?

enter image description here

1 Answer 1


Go to config.xml and comment below line,

<step title="Data Integrity Step">

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.