I am trying to import a CSV file for products. When clicked on "check data" button, it says "File is valid! To start import process press 'Import' button "

but when I click on the import button, I get the following error:

SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row

enter image description here

Here is the LINK to my csv file.


1 Answer 1


As mentioned by Sanchit Gupta in comment, the SECOND_LINK :

It solved my issue, HERE is the answer that helped me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.