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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
Issue
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"
Symptoms
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:

Approvers
Resolution
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.