Linked Questions

1
vote
1answer
1k views

UNABLE_TO_LOCK_ROW error during inserting a new Record [duplicate]

I am trying to insert new records in Salesforce using data loader, but getting the below error - Error received from salesforce.com. Fields []. Status code [UNABLE_TO_LOCK_ROW]. Message [unable to ...
-1
votes
1answer
3k views

UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record: [duplicate]

I am creating case through trigger,but i am getting the UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record: can anybody help me...
0
votes
1answer
544 views

test class Error need yours help [duplicate]

System.DmlException: Insert failed. First exception on row 0; first error: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record, how to rectify kindly hep me
1
vote
1answer
198 views

can some one correct this error modified one [duplicate]

Developer script exception from Nicomatic : quotepotential : quotepotential: execution of AfterUpdate caused by: System.DmlException: Update failed. First exception on row 0 with id ...
1
vote
0answers
188 views

Batch apex UNABLE_TO_LOCK_ROW [duplicate]

We are facing the problems when running the batch apex getting below error First error: Update failed. First exception on row 0 with id 0061A000012kKuBQAU; first error: UNABLE_TO_LOCK_ROW, ...
3
votes
1answer
7k views

UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record

I have a batch process which updates Accounts and sometimes when i run this batch i get the error. UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record I did read through Mohit's ...
3
votes
2answers
1k views

UNABLE_TO_LOCK_ROW error

I'm getting this error on before insert: Developer script exception from Organization : Chat_copyUserAgentToNewCase : Chat_copyUserAgentToNewCase: execution of BeforeInsert caused by: System....
1
vote
1answer
2k views

UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record or 200 records - Error even after using FOR UPDATE

I have a trigger and I am calling a queueable job from trigger. Sometimes I get this error: Update failed. First exception on row 0 with id a0VN00*********; first error: UNABLE_TO_LOCK_ROW, ...
6
votes
1answer
1k views

Users getting “Unable to obtain exclusive access” Error

My users are attempting to work in records and occasionally get the error message of Unable to obtain exclusive access to this record or 1 records: [id]. This error is intermittent and I cannot find ...
3
votes
0answers
87 views

Error: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record [duplicate]

I have a batch job running asynchronously and I believe I am getting this error when the record run by batch job is being updated by a user at the same time. I am getting above error in test class and ...
0
votes
1answer
37 views

Account DML Update Failed

List<Account> acctList = [select Id,billingcountry, shippingcountry from Account where Subsidiary__c = 'VTI China' and billingcountry = null ]; for(Account a : acctList){ a.billingcountry = ...
0
votes
0answers
33 views

UNABLE_TO_LOCK_ROW

Error while saving Quote Lines:SBQQ.ValidationException: [": execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 0; first error: UNABLE_TO_LOCK_ROW, unable ...