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