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

Notifications

Announcements

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,307 Super User 2025 Season 2 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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard