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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,906)