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

Flow: Create Planner Task and Include Attachments From Outlook Email

Hello everybody!


I've been working with the following flow:


That AlanPs1 created and posted.


One issue I've encountered is that whenever we create a task with attachments, the flow does not work and the error says: "BadGateway".


This is the body of the error:

"error": {
"code": 502,
"source": "",
"clientRequestId": "3d6abfe5-941f-40a2-83dc-0874414b579c",
"message": "BadGateway",
"innerError": {
"status": 502,
"message": "Cannot create folder \"Legal/Shared Documents/Planner/2019-07-11-FW: File to Fax to 415-276-4164\".\r\nclientRequestId: 3d6abfe5-941f-40a2-83dc-0874414b579c\r\nserviceRequestId: 7b44ef9e-505e-9000-f2c1-8fe63324676b;7b44ef9e-006c-9000-f2c1-8f08506f89ea;7b44ef9e-a07b-9000-f2c1-85db60029287",
"source": "'%2fLegal%2fShared+Documents%2fPlanner%2f2019-07-11-FW%3a+File+to+Fax+to+415-276-4164'",
"errors": [


Do you guys know how can I solve this issue?

Thanks in advance!!! Smiley Happy


Kind Regards,


Community Support
Community Support

Hi @FidelityIT,


Hi, I afraid that you have chosen the No Attachment in the trigger “When a new email arrives”.


If you want to trigger a flow when an email with attachment arrives, you could configure the trigger to Has Attachment and Include Attachments as below:



Please let me know if your problem could be solved.


Best regards,



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

Hi @AlanPs1, are you able to assist on this issue?


Kind Regards,


The issue was that a subject with special characters creates an error. The solution is adding this flow:

At the second step and that will do it.

Thank you all!


Kind Regards,


Helpful resources

Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,957)