function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kayla BorgKayla Borg 

Receiving error: Update failed. CANNOT_UPDATE_CONVERTED_LEAD - The leads aren't actually converted.

I'm receiving two, related errors:

System.DmlException: Update failed. First exception on row 0 with id xxxxxxxxxxxxxxxxxxx; first error: CANNOT_UPDATE_CONVERTED_LEAD, cannot reference converted lead: []

and:

ConvertLead failed. First exception on row 1; first error: CANNOT_UPDATE_CONVERTED_LEAD, cannot reference converted lead: []

The error messages themselves seem simple enough in concept, stating that I'm trying to update a lead that's already been converted and/or attempting to convert a lead that's already been converted, except there's one issue....

Checking the lead ids (that for some reason are only provided on the failed update error emails and not on the failed convertlead ones) shows that they have NOT been converted. IsConverted == false; ConvertedDate == null; ConvertedContactId = null;

Any insight into how this error message is getting triggered or why these leads it claims have already been converted are ultimately not showing up as converted?
Ajay Nagar 7Ajay Nagar 7
Can you paste the code here.