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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Uploads merged into an...
Power Automate
Unanswered

Uploads merged into an array, got error when trying to send as email attachments

(0) ShareShare
ReportReport
Posted on by

When I ran flow, I got this error message:

The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)' of type 'OpenApiConnection' is not valid. Error details: The API operation 'SendEmailV2' is missing required property 'emailMessage/Attachments/0/ContentBytes'.

 

I have also attached a screenshot of my flow. Thanks.

 

FlowScreenShot.jpg

Categories:
I have the same question (0)
  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at
    Re: Uploads merged into an array, got error when trying to send as email attachments

    Hello @vrm 

     

    The error message is very precise. the attachment has no content. If you want to email the attachment you will have to download the content first. So in the apply to each you should download the content and afterwards use a select action to prepare the attachments-array in the correct format. Of course you can also use your variable append this information inside the loop.

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