I am migrating m1(22.214.171.124) to m2 (2.2.7).
at the time of run command
bin/magento migrate:data -a vendor/magento/data-migration-tool/etc/opensource-to-opensource/126.96.36.199/config.xml
getting [PDOException]SQLSTATE: Integrity constraint violation: 1062 Duplicate entry '146' for key 'PRIMARY'.
please help me to resolve this error
It seems you are doing the migration on already customized or used Magento, try to operate on the fresh Magento, and after you complete the migration then install the customizations and plugins.
If not, then try to figure out the table from which it is causing the issue, that might help.