Get-Item not working with SharePoint item with multiple object picker

Occasional Contributor

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:

 

Stanislawo_0-1661353934078.png

Stanislawo_1-1661353958440.png

 

 

Any help would be much appreciated!

 

Best,

Stan

2 Replies

@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.