< class="prominent-subhead ">

Code Fix: Executing the “getDocumentSets” method results an error


Issue Description

When you add a Document Set to your SharePoint Document Library that has a very similar name to an existing Document Set, executing the “getDocumentSets” method results in an error.

Error Message

The following error occurs: “Sequence contains more than one matching element”.


Creating Document Sets with the same name or close to the same name.


  1. Ensure you have K2 Five (5.1) installed.
  2. Get the K2 Five (5.1) FP3 from Regional Support.
  3. Install the K2 Five (5.1) FP3 to apply the fix.
  4. It is recommended ot refresh the browser cache.