web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Error in flow

(0) ShareShare
ReportReport
Posted on by 15

Hi All

 

I am very new to PowerAutomate and am trying to figure my way through it all!

I am getting the following error on the 'apply to each' stage

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@body('Parse_JSON')?['ROWSET']?['ROW']' is of type 'Object'. The result must be a valid array.

 

 

pdyason_0-1661011403807.png

Any help would be greatfully received!

Thank you

Paula

 

Categories:
I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @pdyason ,

    the "Apply to each" control needs to loop actions through an array of items and not from a single Object.

    For example, when you list rows present in a table, you can grab the entire list (array) and for each row, perform specific actions:

    MarconettiMarco_0-1661066898992.png

     

    If I have answered your question, please mark my post as Solved.
    If you like my response, please give it a Thumbs Up.

    My blog site about Power Automate: https://powerautomatejoy.com/

    BR,

    Marco

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard