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 / 'OpenApiConnection' is...
Power Automate
Unanswered

'OpenApiConnection' is not valid? Please help a newbie out if you can.

(0) ShareShare
ReportReport
Posted on by 132

The 'inputs.parameters' of workflow operation 'New_Lead_Email_-_Day_1_(RH)' of type '//filler text for name//'OpenApiConnection' is not valid. Error details: Input parameter 'emailMessage/To' is required to be of type 'String/email'. The runtime value '"fillertextforemail@hotmail.com\n"' to be converted doesn't have the expected format 'string/email'.

 

The above is what a flow is reporting. I'm very confused as the emails being used for testing purposes *are* strings. Now I've noticed that some of the emails were mistyped, so I ignored those. But the vast majority of them were not, yet are still triggering this message and the flow failing. I searched this up, but could not find a solution or explanation.

 

Can anyone help with this please? 

Categories:
I have the same question (0)
  • WillPage Profile Picture
    2,329 Super User 2026 Season 1 on at

    There's a trailing space at the end of the email ( \n ). You can trim this off by adding a Compose action. Click in the input and press enter. Now in the next compose go replace('fillertextforemail@hotmail.com\n',outputs('Compose')) where 'fillertextforemail@hotmail.com\n' can be substituted with whatever dynamic content contains that text.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard