...
The log file shows an ERROR 220, with a 'failed' statement followed by (220).
Example 1
[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.
add the other field example
In this example the user has a relationship defined by a field, but does not have access to the field.
Solution
The admin needs to do one of the following:
...