Problem
The log file shows an ERROR 220, with a 'failed' statement followed by (220).
Example
[2022-04-04 18:56:17,651018][INFO][15676] - relationship loop: attempting to generate sync items for depth (3)
[2022-04-04 18:56:17,651018][INFO][15676] - Relationship sync: calculating sync items for depth 3
[2022-04-04 18:56:17,978602][ERROR][15676] - getRelQuery: missing target object type (LinkedArticle)
[2022-04-04 18:56:17,978602][ERROR][15676] - getRelQueryBatchCount: failed (220)
[2022-04-04 18:56:17,978602][ERROR][15676] - generateSyncItemsAtDepth: failed to get batch count (220)
[2022-04-04 18:56:17,978602][INFO][15676] - Rolling back transaction
[2022-04-04 18:56:17,978602][ERROR][15676] - doRelationshipSync failed (220)
In this example, the user has a relationship setting to fetch LinkedArticle object but they don't have access to it.
Solution
The admin needs to do one of the following:
Solution | Reason | More Information |
---|---|---|
Grant the correct user permission in Salesforce. | The user does not have permission to access the desired object. | |
Create the correct relationship sync setting in Pulsar. Update pulsar.sync.relationship.directives. | Pulsar is not set up to sync the desired object. |