In situation when we want to qualify a lead we are getting this error message:
Lead record was not created or updated because a duplicate of the current record already exists.
Error code: 0x80040333
There is no option to download additional error details.
What we have noticed is that this only happens when we want to use existing Account and Contact record which already have opportunity.
When we create new Lead with the same data we are able to ignore duplicate detection rule and to save record. But when we click on Qualify button this error is shown and we can't say ignore duplicate detection rules.
Currently there is only one duplicate detection rule on Lead entity, the default one:
When we disable this duplicate detection rule there is no any issue and Lead qualification is successful.
What is strange is that we noticed that this error is showing only on two environments, but not on the third one, even all settings are the same in all environments (the same duplicate detection rule and the same settings for duplicate detection).