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
tcherlettcherlet 

insert/update account via API + Field Type Email problem

When I insert/update PersonEmail address of an Account through API with an invalid emailaddress I get: Email: invalid email address: 

 

But in my before insert/update trigger I have implemented logic that corrects if it's an invalid emailaddress and corrects it to a valid emailaddress?

 

So my question is why I still get the error of invalid emailaddress, is this because Field Type is enforced before it's enters the before trigger or is it something else?