cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Underdog1987
Level: Powered On

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
Community Support Team
Community Support Team

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
Underdog1987
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,280)