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 : 5py1c4u5PCmC2nnQ6FrEQ6
Power Automate - Using Flows
Answered

OpenApiConnection is not valid

Like (0) ShareShare
ReportReport
Posted on 11 Jul 2023 05:05:27 by

Hi All,

 

I am new to Power automate and I am facing this error while sending mail via outlook in cloud flow. 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'.

 

meena1_2-1689051807460.png

 

 

Please help as i am not able to send mail with attachment.

 

  • Community Power Platform Member Profile Picture
    on 11 Jul 2023 at 10:37:55
    Re: OpenApiConnection is not valid

    Hi Wearsky,

     

    The attachment data is appearing as some random values then original. How can i convert the data to original PDF so the user can understand what exactly was written.

    meena1_0-1689071822446.png

     

    original text

    meena1_1-1689071852661.png

     

     

    Thanks,

    Meena

  • Community Power Platform Member Profile Picture
    on 11 Jul 2023 at 06:48:44
    Re: OpenApiConnection is not valid

    Thank you Wearsky for your quick help 🙂

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 11 Jul 2023 at 06:34:35
    Re: OpenApiConnection is not valid

    Hi @Anonymous ,

     

    Please try this:

    body('Get_attachment_content_2').$content

     

    Best Regards,

    Wearsky

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 11 Jul 2023 at 05:26:31
    Re: OpenApiConnection is not valid

    Hi @Anonymous ,

     

    It should be 'ContentBytes' rather than 'Content'.

    vxiaochenmsft_0-1689053183553.png

     

    Best Regards,

    Wearsky

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete