Aug 24 2022 08:16 AM
Hi All,
I'm trying to use the get-item flow operation on a list item which has a fields that allows multiple objects and get the error:
ResponseSwaggerSchemaValidationFailure. The API 'sharepointonline' returned an invalid response for workflow operation 'Get_item' of type 'OpenApiConnection'. Error details: 'The API operation 'GetItem' requires the property 'body/Approver' to be of type 'Object' but is of type 'Array'.'
I want to start a flow using a button and then get the item properties with get-item. Is there any way I can work around this error?
Here's a couple pictures showing roughly what I've set up:
Any help would be much appreciated!
Best,
Stan
Aug 24 2022 09:08 AM
Solution@Stanislawo Ideally Get item action with multiple selection people column works for me.
Can you try deleting the 'Get item' action, re-adding the action and Save?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Aug 24 2022 09:59 AM
Hi @Stanislawo
Similar thread here should help you resolve the issue: https://powerusers.microsoft.com/t5/Using-Flows/Trying-Finding-the-Root-Cause-for-The-API-sharepoint...
Aug 24 2022 09:08 AM
Solution@Stanislawo Ideally Get item action with multiple selection people column works for me.
Can you try deleting the 'Get item' action, re-adding the action and Save?
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.