Data Deployment Error: 'Use one of these records?'

When doing a data deployment, Salesforce may return the following error:

 "Use one of these records?"

This issue occurs when you have a duplicate or matching rule in place, and one of the records you are trying to migrate doesn’t pass the rule.

To fix this issue, choose one of the options below:

  1. Add the external Id value both in the source and destination records so that during the deployment, the relevant record that already exists in the destination is updated.
  2. Disable the duplicate or matching  rule, redeploy and then re-enable the rule.
  3. Use filters to exclude the offending records from the deployment.

How did we do?