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

One or more recipients are invalid

Good Morning,
I have a list for tasks with the field "Assigned to". It is a "person or group" field that does not allow multiple selections. I have created a flow that, when a task is created, sends an email to the person to whom it has been assigned.
The flow works for some users, but gives the following error for other users: One or more recipients are not valid.

 

This is the field of the sharepoint list:

Sharepoint column

And this is the error message:

error

Any ideas??

4 REPLIES 4
Community Support Team
Community Support Team

Re: One or more recipients are invalid

Hi @Mangeles,

 

Could you please share a screenshot of your flow's configuration?

Further, could you please show more details about the run history of the action where the error occurred?

 

The error message told that there is something wrong with the value that you provided within the To field of the "Send an email" action in your flow. Please check if you have filled a valid value within the To field of the "Send an email" action. Also please check if the value that you provided within the To field of the "Send an email" action is empty.

 

I have made a test on my side, if the Dynamic content value that you provided within the To field of the "Send an email" action is empty, the error would be shown up as you mentioned. So within your flow, you should firstly check if the Assigned to dynamic content is empty, if yes, do nothing, if no, send email notification.

 

I have made a test on my side and please take a try with the following workaround:21.JPG

Within Condition box, click "Edit in advanced mode", type the following formula:

@empty(triggerBody()?['Assigned_x0020_to'])

Within "Send an email" action, To field set to Assigned to Email dynamic content of the trigger.

 

Note: The Assigned to column is a Person or Group type column in my SharePoint list, which does not allow multiple selections.

 

The flow works successfully as below:22.JPG

 

23.JPG

 

 

 

Best regards,

Kris

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Mangeles
Level: Powered On

Re: One or more recipients are invalid

Hi Kris,

I have tried your suggestion and, indeed, it seems that "Assigned to" is empty, so the flow works but the emails are not sent. I do not know why it happens, in the list I select "only one person". I send you a picture of the flow and another one from the list where person are selected.

asignado.pngflujo.png

Thanks for your help!

Highlighted
shahab
Level: Powered On

Re: One or more recipients are invalid

I'm getting the same error with a Flow I built which reads an Excel file containing a list of email addresses.   To test the Flow, I created a sample file containing a few rows with my email address.  When I test the Flow it fails with the following error:

"The request failed. Response content: '{"status":400,"message":"One or more recipients are invalid.\r\nclientRequestId: 32f20f2c-3a66-4f73-b740-2c3a2081311c\r\nserviceRequestId: c60fbcb6-eaf9-493f-a68b-e766c17aff92","source":"office365-ne.azconn-ne.p.azurewebsites.net"}'. "
 
The Flow does go ahead and send the emails, so I'm not sure where it's failing.   The only email address in the file is my email address and I'm getting the emails from Flow.

 

 

Email2.png

Administrator
Administrator

Re: One or more recipients are invalid

Hello, @v-xida-msft!

Thank you for posting a reply to a topic on the Microsoft Flow Community! It appears that the users who you have been engaging in this thread with are now awaiting your reply! Please follow-up on this thread ASAP.

Thank You!

-Gabriel

Microsoft Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!

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
Users Online
Currently online: 101 members 5,398 guests
Please welcome our newest community members: