Duplicate entry
MySQL error occurs when trying to insert a duplicate value in a column with UNIQUE constraint.
Check for existing records before inserting. Use INSERT IGNORE or ON DUPLICATE KEY UPDATE. Remove the duplicate value or modify the unique constraint.