10

Data Migration > EAV Step

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-Migration_Default' for key 'EAV_ATTRIBUTE_SET_ENTITY_TYPE_ID_ATTRIBUTE_SET_NAME'

i have find solution here but not work for me also i have remove duplicate attribute set in eav_attribute_set table

but after run command then new error genrated

Undefined offset: 4 in vendor/magento/data-migration-tool/src/Migration/Step/Eav/Data.php on line 292

enter image description here

Any help would be appreciated.

Thanks.

Rakesh Donga
  • 5,344
  • 2
  • 24
  • 57

1 Answers1

2

This error comes when we run migration command 2nd time on same database. kindly remove the database and again use fresh database and then do all the setting. Run migration command .

twinkle_gupta
  • 149
  • 10