cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Underdog1987
Advocate II
Advocate II

Property toRecipients in payload has a value that does not match schema. (SendMail V2)

I have a Flow that uses For-Each to collect the recipients to send an Email, but I'm getting this error:
"Property toRecipients in payload has a value that does not match schema."

I Tried:

Removed last semicolon en "to" field

Removed spaces between each email addres (For-each generates the recipient's string like "user1@domain.com;user2@domain.com;user3@domain.com" without spaces.

 

Request details are:

Client Request: 44faa597-d0ac-4704-9219-b5dc70f2139b

Service Request: 4b751ed1-2fd8-4af8-9ee6-945a8d4d0c38

 

Extra: I have other flow using same For-Each technique with the same purpose and is working fine.

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

Hi @Underdog1987 ,

 

Please try this method, using array variable instead of string variable.

50.PNG51.PNG

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Does not work.
Finally, I changed the action. I use "Send an email" instead of "Send an email V2 (preview)".

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,716)