cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

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

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.
Highlighted
Advocate II
Advocate II

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

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

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (10,199)