UNABLE_TO_LOCK_ROW: unable to obtain exclusive access to this record | Community
Skip to main content
December 12, 2016
Question

UNABLE_TO_LOCK_ROW: unable to obtain exclusive access to this record

  • December 12, 2016
  • 1 reply
  • 6802 views

Hi everyone, we have an app in Salesforce, Rollup Helper, that runs a batch update every hour on Leads/Contacts where certain fields have changed.  This sometimes conflicts with Marketo sync, and so we get 50-100 leads that throw the error "UNABLE_TO_LOCK_ROW: unable to obtain exclusive access to this record" which is clogging up our error logs. 

My initial thought was to create a nightly batch program to find records that have not synced with Salesforce within the previous 24-48 hours and also had some important update, like this:

I'm curious to hear how other people have solved this problem. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Frank_Breen2
Level 8
December 15, 2016

Joe, you should be able to find you answer here: Salesforce Sync Error: UNABLE_TO_LOCK_ROW.