This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.


When using the 'SharePoint Groups' SmartObject > 'Get Users in Groups' method in a client event to assign task, the following error occurs:

"10702 An error occurred in the SharePointGroupsService Service Instance. Data at the root level is invalid. Line 1, position 1"


This is expected behavior, as this 'SharePoint Groups' SmartObject > 'Get Users in Groups' method (plural 'Groups') is expecting an XML structure for the 'Group Name' input property in the structure below:


*Multiple groups

<Groups><Group Name="Approvers" /><Group Name="Members" /></Groups>

*Single group

<Groups><Group Name="Approvers" /></Groups>

Where-as the method 'SharePoint Groups' SmartObject > 'Get Users in Group' method (singular 'Group'), will accept just the name of the group:




Usage of either methods will work depending on the use case; however you will need to adhere to the correct structure for the 'Group Name' Input Property.