Data Deployment Error: Error storing record result: unable to obtain exclusive access to this record

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

“Error storing record result: unable to obtain exclusive access to this record or 1 records: a5y8B9876420fghGAA” 

This issue may occur if a field in a record is locked or the user (owner) that has created the Org Credential record in Copado does not have write access to the objects in the destination org.

To solve this issue, navigate to the destination org and make sure the user that was used to create the org credential in Copado has write permissions in all deployment objects in the data template.

How did we do?