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 Platform Community / Forums / Power Automate / error in using (apply ...
Power Automate
Unanswered

error in using (apply to each) in power automate

(0) ShareShare
ReportReport
Posted on by

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData/responseId']' is of type 'Integer'. The result must be a valid array.

 

 

 

what is that mean ?? 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at

    Hey @shaikha93 

    In the above error it clearly states it is getting an integer value, instead of array. Can you share flow steps so I can help you in a better way.

  • v-liwei-msft Profile Picture
    on at

    Hi @shaikha93 

     

     

    Totally agree with Sundeep_Malik's comment.

    Apply to each is an action for the array, its role is to traverse each record in the array.

    If you want to use Apply to each, make sure the data you fill is an array and nothing else.

    You can provide screenshots of your needs and process so that we can help you better.

     I think this link will help you a lot:

    manueltgomes.com

     

    Best Regards,

    Levi

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard