Data Deployment Error: CANNOT_UPDATE_CONVERTED_LEAD:cannot reference converted lead

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

“CANNOT_UPDATE_CONVERTED_LEAD:cannot reference converted lead”
 
Salesforce has some rules in place to manage how it handles updating converted leads. For more information about this, check out Salesforce’s article.

To use Copado to update converted leads, you must take the following actions prior to deploying:
 
  1. Enable the View and Edit Converted Leads permission. For more information about how to do this, please refer to Salesforce’s article.
  2. In the Lead template, click on the Main Object Filter tab and set the batch size to 1.

How did we do?