magento / magento/data-migration-tool
Integrity constraint violation error on Map migration setp
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 339
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
Hello Support,
I am doing data migration from Magento 1.9.4 to Magento 2.3.3. Setting migration is working fine but I am getting error on data migration (Map Step). Error in mentioned below.
> SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '770p
> h3svhdpkhqjoal0h55eso4' for key 'PRIMARY'
I have checked the migrtaion log but still not able to find the issue. @victor-v-rad @victor-ruiz Please check once and help me to solve such issue.
Magento 1 version: 1.9.4.0
Php for Magento 1: 5.6
Magento 2 version: 2.3.3
Php version for magento 2 is 7.1
erreo screenshot: https://prnt.sc/s8oisw
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the migration log and the Map step using the stated Magento and PHP versions, then inspect where the duplicate primary-key error is produced. Done means identifying a reproducible cause and confirming that the data migration completes without this integrity-constraint violation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, sql
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100