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
fiona gentryfiona gentry 

How to resolve Developer script exception just by looking at logs

Dear Pals,

How to resolve Developer script exception just by looking at logs below,
any suggestion what might be the solution to this error logs
 
Developer script exception  : 'FSL.FeatureTracking' for job id '7071Q0000CbEUR8' :
Unable to save value: totaNumOfActiveRes for subscriber org: 00D36000000rhGR save failed with error: Error [statusCode=UNABLE_TO_LOCK_ROW, code=[xmlrpc=132...

Apex script unhandled exception by user/organization: 00536000008HQDp/00D36000000rhGR

Failed to invoke future method 'private static void updateAllFutureBasedFMAParameters()' on class 'FSL.FeatureTracking' for job id '7071Q0000CbEUR8'

caused by: System.UnexpectedException: Unable to save value: totalNumOfActiveRes for subscriber org: 00D36000000rhGR save failed with error: 

Error [statusCode=UNABLE_TO_LOCK_ROW, code=[xmlrpc=1325, statusCode=UNABLE_TO_LOCK_ROW, exceptionCode=UNABLE_TO_LOCK_ROW, 
scope=PublicApi, http=500], message=unable to obtain exclusive access to this record, fields=null]

Regards,
Fiona

 
Best Answer chosen by fiona gentry
ShirishaShirisha (Salesforce Developers) 
Hi Fiona,

Greetings!

Seems like you are getting the row lock error which occurs whenever you try to access the record which is being locked by an other user.

Reference:https://help.salesforce.com/apex/HTViewSolution?urlname=Unable-to-lock-row-Record-currently-unavailable-errors&language=en_US

As suggested in the above document,please enable the debug logs to double check,if there is any other action running behind this process to fix the issue.

Please mark it as best answer if it helps you to fix the issue.

Thank you!

Regards,
Shirisha Pathuri