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

Announcements

News and Announcements icon
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:
  • max81 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard