cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Karo_S
Helper I
Helper I

Flow should create a folder on Sharepoint, but is showing "BadGateway" error. How to fix it?

Hi All,

 

I created a flow that should activate every time a new email arrives with the "Final Panel" as a subject. It should create a new folder on Sharepoint and download all attachments there.

The first tests went well and everything was working. Now it fails and shows a 502 "BadGateway" error with this comment

"The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)\r\nclientRequestId: 166cdb8e-4f0c-4f45-b121-0d2a0c118ae6\r\nserviceRequestId: 166cdb8e-4f0c-4f45-b121-0d2a0c118ae6"
 
Any ideas on how to fix this and why it was working normally at first?
 
3.PNG2.PNG1.PNG4.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi!

 

I've just realized that step "create a folder" is unnecessary. I removed it and all works fine.

 

Thanks! 

View solution in original post

2 REPLIES 2
fchopo
Super User
Super User

Hello @Karo_S 

Could you display the value of the "Subject Path" when creating the folder? It seems flow is trying to create a folder in a non-existing path.

Hope it helps!

Ferran

Did I answer your question? Please consider to mark my post as a solution to help others.
Proud to be a Flownaut!

Hi!

 

I've just realized that step "create a folder" is unnecessary. I removed it and all works fine.

 

Thanks! 

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,414)