< class="prominent-subhead ">

Code Fix: An error occurs in the database when running a sync on a SharePoint 2013 environment


Issue Description

When running a sync using the SyncEngine on a SharePoint 2013 environment an error occurs in the database. This will occur after adding a group with many users in the group and then running the sync.  

Error Message

The following error is visible in the [SyncEngine].[RunHistory] table in the AdditionalInfo column: “Invalid Request. The request XML is too complex”.


SharePoint 2013 uses CSOM calls that have a limitation when building the XML.


  1. Ensure you have K2 Five (5.2) installed.
  2. Download the K2 Five (5.2) FP31 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.2) FP31 to apply the fix.
  4. Run the sync again.