web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow should create a f...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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

 

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at
    Re: Flow should create a folder on Sharepoint, but is showing "BadGateway" error. How to fix it?

    Hello @Anonymous 

    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

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Flow should create a folder on Sharepoint, but is showing "BadGateway" error. How to fix it?

    Hi!

     

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

     

    Thanks! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard