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 / ExpressionEvaluationFa...
Power Automate
Unanswered

ExpressionEvaluationFailed error in "Get Response Details"

(0) ShareShare
ReportReport
Posted on by 4

Can someone help me with this error message?  

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@json(body('Get_response_details')?['r7855ad6e3cea444c8f6e3f1e43abdecd'])' is of type 'Null'. The result must be a valid array.

The flow runs successfully for some submitters, but no others.

 

Norlisa7_0-1715874649728.png

________________________________________________________________________________________________________________________________________________

Norlisa7_0-1715875047867.png

 

 

Thanks,

Lisa M

 

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,268 Most Valuable Professional on at

    @Norlisa7 

    Please post screen shot from design view with as much detail as possible.

     

     

  • Norlisa7 Profile Picture
    4 on at

    Let me know if this is what you need.  Thanks!

    Norlisa7_0-1715877825913.png

    ==============

    Norlisa7_2-1715878153590.png

     

     

     

     

     

  • Norlisa7 Profile Picture
    4 on at

    My flow is" when a form is submitted send conditional emails with images and attachments."

  • ScottShearer Profile Picture
    25,268 Most Valuable Professional on at

    @Norlisa7 

    My apologies, but I can't tell you exactly what is wrong other than it doesn't like the apply to each expression (obviously).  I am assuming that the Form submission actually had at least one attachment. I am also assuming that the ID used in the expression is accurate.

    That said, I would be inclined to use a Parse JSON action - that helps to minimize errors like this.  Take a look here.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard