Managing custom validation rules in Salesforce

March 22, 2024

If you are getting FIELD_CUSTOM_VALIDATION_EXCEPTION when trying to write data to a Salesforce connection, this means there is a custom validation rule on this Salesforce account and the data that you are providing isn't valid

To get Unified.to to be able to write this object you will need to get your customer to modify the Salesforce rule on their account to be less strict or remove the rule all together.

For example, you are getting "FIELD_CUSTOM_VALIDATION_EXCEPTION: The Shipping address is required." when trying to create a Company. This means there is a custom rule on the Salesforce Account object that requires a shipping address.

Follow these instructions to modify/remove a custom rule for Account object:

  1. Go to your Salesforce account and navigate to Setup
  2. On the left-hand side navigate to Objects and Fields > Object Manager
  3. Select the object you need to modify the rules for. In our case Account
  4. Navigate to Validation Rules
  5. Edit or remove the custom validation rule