Hi Folks
Sending email by running flow I'm getting the below message
The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'emailMessage/To' is required to be of type 'String/email'. The source type/format 'Object' of the value '(....)is not convertible to type/format 'String/email'.
Is there any idea to get this resolved.
Hi @AhmadDeaa03 ,
Yes this means that the email field in question has a value that is in fact not an email address. An equivalent error message is when you are trying to perform math on a string function, you would get a similar error.
Please check your 'Send an email (V2)' action and confirm the value you are placing in the to: field or cc: field is in fact an email address. You can test this by removing the value you currently have in there and hard code the to: field with your own email address (and resubmit your failed flow). On success, you have confirmed the dynamic value you have in there is not an email address or string. Let me know if that solved it for you - always glad to help! Tom
If you have a screen clip of your send to (v2) action - I can also help confirm the dynamic value issue.