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
Yogesh Patil 85Yogesh Patil 85 

WARNING POSSIBLE DATA CORRUPTION: Rolling back after violating commit by: common.api.soap.DirectSoap.doDmlAndCommit

Can anybody pls help me understand what the below error means - 

WARNING POSSIBLE DATA CORRUPTION: Rolling back after violating commit by: common.api.soap.DirectSoap.doDmlAndCommit

How to resolve this issue?
emmae dasemmae das
I am also looking for this ....
SwethaSwetha (Salesforce Developers) 
HI Yogesh,
What is the operation that you are performing that is causing this error? Can you include steps to repro so that the community can suggest better?

Thank you
Yogesh Patil 85Yogesh Patil 85
We are actually updating a record in standard object. Post that the trigger runs and the logic terminates with this error. This issue is not reproducible in sandboxes and happens only in Production. 
Frostrich SealiteFrostrich Sealite
Your content helped me a lot to take my doubts, thank you very much.direct2hr (https://www.direct2hr.biz/)