magento / magento/data-migration-tool

Integrity constraint violation error on Map migration setp

Open
#811 7 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.