cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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

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.

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!

Advocate II
Advocate II

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

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
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

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.

Top Solution Authors
Top Kudoed Authors
Users online (15,587)