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

Flow: Create Planner Task and Include Attachments From Outlook Email

Hello everybody!

 

I've been working with the following flow:

 

https://www.alanps1.io/power-platform/flow/flow-create-planner-task-and-include-attachments-from-out...

 

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": "flow-apim-msmanaged-na-westus2-01.azure-apim.net",
"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": "https://blueearth365.sharepoint.com/Legal/_api/web/folders/add(@p)?@p='%2fLegal%2fShared+Documents%2fPlanner%2f2019-07-11-FW%3a+File+to+Fax+to+415-276-4164'",
"errors": [
"-2130247165",
"Microsoft.SharePoint.SPException"
]
}
}
}

 

Do you guys know how can I solve this issue?

Thanks in advance!!! Smiley Happy

 

Kind Regards,

Leví

3 REPLIES 3
Community Support Team
Community Support Team

Re: Flow: Create Planner Task and Include Attachments From Outlook Email

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:

1.PNG

 

Please let me know if your problem could be solved.

 

Best regards,

Mabel     

     

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.
FidelityIT
Level: Powered On

Re: Flow: Create Planner Task and Include Attachments From Outlook Email

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

 

Kind Regards,

Leví

FidelityIT
Level: Powered On

Re: Flow: Create Planner Task and Include Attachments From Outlook Email

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

https://www.alanps1.io/power-platform/flow/flow-stripping-unwanted-characters-or-special-characters-...

At the second step and that will do it.

Thank you all!

 

Kind Regards,

Leví

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

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 Flow Community Video Gallery!

Users Online
Currently online: 52 members 4,472 guests
Please welcome our newest community members: