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 : 3WK6sa5ym0emc5H2w6+hGX
Power Automate - General Discussion
Unanswered

Send email sharepoint error on the data type not string

Like (0) ShareShare
ReportReport
Posted on 13 Jul 2023 18:49:24 by

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.

I have the same question (0)
  • trice602 Profile Picture
    14,638 Super User 2025 Season 2 on 14 Jul 2023 at 01:34:12
    Re: Send email sharepoint error on the data type not string

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 725 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 363 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 341

Last 30 days Overall leaderboard