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 Automate - Building Flows
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

I have the same question (0)
  • Matthy79 Profile Picture
    4,178 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard