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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,078)