Error on Item Export
Error Message: 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`community`.`catalog_product_website`, CONSTRAINT `FK_CATALOG_PRODUCT_WEBSITE_WEBSITE_ID_CORE_WEBSITE_WEBSITE_ID` FOREIGN KEY (`website_id`) REFERENCES `core_website` (`website_id`) ON DELETE ), query was: INSERT INTO `catalog_product_website` (`product_id`,`website_id`) VALUES (?, ?), (?, ?), (?, ?), (?, ?)'
Reason: This occurs when you choose a website that is in NetSuite but not in Magento.
Resolution:
- Check for the available websites/stores in Magento.
- Map the website to the respective NetSuite account if mappings are missing.
- Choose only the website available in both of the systems.
Comments
0 comments
Please sign in to leave a comment.