Common errors

Common errors when syncing to and from Salesforce

Salesforce objects or fields are not listed in Polytomic

This is almost always because the Salesforce user connected in Polytomic does not have permissions to read the corresponding objects or fields in Salesforce. Ask your Salesforce admin to double-check the user's permissions.

UNABLE_TO_LOCK_ROW errors when syncing to Salesforce

These are errors emitted by your Salesforce instance when too many flows are firing, resulting in Salesforce unable to write the data Polytomic sent it because the corresponding records are locked to receive Salesforce flow results.

The way to get around this is to tell Polytomic to lower the rate of data it sending to Salesforce. The exact settings sometimes require trial and error, as you attempt a lower rate then lower it further if that doesn't work.

The settings to modify this are located at the bottom of your sync configuration in the Advanced settings section:

Our recommendation is to first try setting these settings:

  • Ingestion API: Bulk
  • Bulk batch size: 100

then run your sync again.

If you still encounter errors, then set Concurrency mode to Serial in addition to the above settings:

Changing any of the above settings will result in a slower sync as Polytomic will feed less data to Salesforce at a time, but it will help avoid Salesforce's locking errors.