< 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 occurred 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.3) installed.
  2. Download the K2 Five (5.3) FP1 from K2 Partner and Customer Portal.
  3. Install the K2 Five (5.3) FP1 to apply the fix.
  4. Run the sync again.