cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Mail Flow stopped working. Was working perfectly until yesterday. Possible Bug.

I have a very simple flow.

 

Goes from PowerApps -> Mail 

1.png

 

Everything was working perfectly until 20 hours ago. Was there some update or something? Since then all my flows started to fail.

 

2.png

 

The error it says is that the email is not correct for all of them. However some of them had flows triggered before and it worked. Moreover I am 100% certain that the email is correct.

 

3.png

 

Here is what i get in the output

 

Headers:

{
  "X-Frame-Options": "DENY",
  "Access-Control-Allow-Origin": "https://sendgrid.api-docs.io",
  "Access-Control-Allow-Methods": "POST",
  "Access-Control-Allow-Headers": "Authorization,Content-Type,On-behalf-of,x-sg-elas-acl",
  "Access-Control-Max-Age": "600",
  "X-No-CORS-Reason": "https://sendgrid.com/docs/Classroom/Basics/API/cors.html",
  "Timing-Allow-Origin": "*",
  "Date": "Thu, 03 Aug 2017 17:37:33 GMT",
  "Server": "nginx,Microsoft-HTTPAPI/2.0",
  "Content-Length": "204",
  "Content-Type": "application/json"
}

Body:

{
  "errors": [
    {
      "message": "Does not contain a valid address.",
      "field": "personalizations.0.to.1.email",
      "help": "http://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.personalizations.to"
    }
  ]
}

Error says that it does not contain a valid address. But before it used to work for the same people with the same email only started to happen 23hours ago. Any insight in to how to fix it would be great.

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @Anonymous,

 

Would you please try to recreate this app to have a test?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-monli-msft

 

I found the source of the bug.

 

So after the MAIL Send Email connector update it added ; to the TO field and when it takes email address it adds ; to the end and that is why it always fails ( I do not know why adding ; would cause issues since some mail clients are able to handle ; )

 

1.png

 

How to recreate the bug:

 

Go into Microsoft Flow and create new Flow

Add PowerApps as trigger and add Mail Send Email connector as action

2.png

 

Select the TO field and click Ask in PowerApps

 

3.png

 

This will add ; at the end. It will make your flow fail and send error that address is incorrect.

 

 

TO FIX:
Remove ; from the TO field

 

Hi @Anonymous,

 

I have reproduced this issue only in Mail action, not O365 outlook or others. I have noticed the pg about this. Thanks for your detailed steps.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,185)