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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Users online (6,440)