cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JohnB2
Helper I
Helper I

Value must be an array - select data

Hi,

I'm having an issues trying to "Select data" when a list gets modified. I feel like I'm doing something silly, but I've gave a day searching and cant find a solution.

Error I receive below.

The 'from' property value in the 'select' action inputs is of type 'Object'. The value must be an array.

 

JohnB2_1-1664540118460.png   JohnB2_2-1664540347920.png

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @JohnB2,

 

Like the error already states. The response is not an array, but an object. 

 

However, you can workaround this by using square brackets around the body. This will turn it into an array with one item.

 

squarebrackets_array.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

2 REPLIES 2
Expiscornovus
Super User
Super User

Hi @JohnB2,

 

Like the error already states. The response is not an array, but an object. 

 

However, you can workaround this by using square brackets around the body. This will turn it into an array with one item.

 

squarebrackets_array.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


JohnB2
Helper I
Helper I

Thank you, that worked. It makes sense now that you say it 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (5,986)