I have this error, "Integrity constraint violation: 1062 Duplicate entry '3841' for key 'WISHLIST_CUSTOMER_ID'"

  • when does this error occure? are you executing a CLI command? Apr 16, 2020 at 8:27
  • @PhilippSander which CLI command Apr 16, 2020 at 8:39
  • that's something i asked you Apr 16, 2020 at 8:46

3 Answers 3


Please remove the duplicate entry from wishlist table and try again. it should work.

Thank you


You should remove the duplicate entry!

  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review
    – HelgeB
    May 28, 2020 at 10:12
  • @HelgeB got it! Thank you for your reminder! May 29, 2020 at 11:29

I will empty magento 1 wishlist table and it works fine. Thank you for reply.

Your Answer

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

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