Why am I seeing validation rule failures during sync?

Issue

If your users are creating data when offline, and you have not enabled Salesforce validation rules to run in Pulsar, the application allows the user to create the data but during sync there will be validation rule failures.

Example

The log message will look something like this snippet below:

[20-06-12 00:12:26][ERROR][0x16f57b000] - doSalesforceSoapRequest failure in response
[20-06-12 00:12:26][ERROR][0x16f57b000] - error(FIELD_CUSTOM_VALIDATION_EXCEPTION) fields(none) description(Only System Admins can change the account name)
[20-06-12 00:12:26][ERROR][0x16f57b000] - doUpdate Account failed (128)

Solution

To avoid this problem, simply enable validation rules you have set up on Salesforce to run in Pulsar even when the user is in offline mode. Refer to Validation Rules and Triggers for more information.