Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

SQLSTATE[23000]: Integrity constraint violation: 1452 error while trying to import products using CSV
 
ankit_ishimaya
Jr. Member
 
Total Posts:  1
Joined:  2013-02-18
 

Hi, i am getting this error when i try to import new products using CSV.

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`magento`.`catalog_product_link`, CONSTRAINT `FK_CAT_PRD_LNK_LNKED_PRD_ID_CAT_PRD_ENTT_ENTT_ID` FOREIGN KEY (`linked_product_id`) REFERENCES `catalog_product_entity` (`entity_id`) ON DELETE CA)

any help would be much appreciated!

Thanks,
Ankit Gupta

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top