
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.
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.