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
Anuj Thakur 4Anuj Thakur 4 

System.DmlException: Update failed. First exception on row 0 This record was already anonymized in accordance to GDPR.

Hi All,
we are getting below error while data is coming from external system. Data is not updating properly in our salesforce system. we have checked all the code properly there is no change in code since a long time and we have checked all the aspects but no clue. finally we got the below error while debugging this issue.
System.DmlException: Update failed. First exception on row 0 with id 
 a1X0J00002FMwvFUAT; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, 
 This record was already anonymized in accordance to GDPR. 
 Fields that might hold personal data are no longer editable.: [] .
It seems some violation of GDPR. could someone help on this if faced that type of issues.
Any response would be highly appriciated.

Thanks,
Thakur
Raj VakatiRaj Vakati
Look like you have a validation rule that casues issue .. please check the validation rule and try 
Anuj Thakur 4Anuj Thakur 4
oh my goodness. thanks Raj.. yes this was a validation rule. but since the Name GDPR was there i got confused.