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 adding multiple ...
Power Automate
Unanswered

Error adding multiple attachments to a sharepoint item

(0) ShareShare
ReportReport
Posted on by

Having tested this successfully on multiple occations, I am getting this error in one of my flows. Any idea why?

 

The execution of template action 'Apply_to_each_-_Add_all_attachments_to_Sharepoint_item' failed: the result of the evaluation of 'foreach' expression '@json(outputs('Get_response_details')?['body/r41fa26475afe4703b7ea8f130a271588'])' is of type 'Null'. The result must be a valid array.

 

mclarkencc_0-1656455362468.png

 

Categories:
I have the same question (0)
  • Mx81 Profile Picture
    860 on at

    Sounds like there was no attached file in your forms.

    You could add a condition to check if there was a attachment

    max81_0-1657098621074.png

     

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 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard