I am using Magento 2.3.2 and when I try to relate a product i get the message:
"The linked products data is invalid. Verify the data and try again."
Any ideas on how to fix this?
Can you check if this info can help? https://magento.stackexchange.com/questions/271150/magento-2-3-error-assigning-related-products
Thank you for your suggestion. Both of those tables are correcly populated so I'm not sure what it could be.
I eventually figured out the solution last week.
By comparing a clean Magento Database install to mine, I found a number of triggers that were in my database that were not in the fresh one. I think there were 6 or 8 of them, I basically had to delete all of these triggers to get the related products to save again. Three of these were:
trg_catalog_product_bundle_selection_after_insert trg_catalog_product_bundle_selection_after_update trg_catalog_product_bundle_selection_after_delete
Check your database for these & any other triggers and try removing these. I believe these are left over from the sample content but I am unsure.