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

Condition failing with BadRequest

I'm trying to set a File System trigger on "When one or more files are added or modified", but I keep getting a "BadRequest" error.

 

Anybody else had this problem?

Capture.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I've tried using other file paths, but nothing seems to work. I have the Gateway running, and it says it's connected to Flow.

 

Thanks!

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @lalder,

 

Do you want to access the OneDrive folder or File System folder?

The “400” error told that the request is a Bad request.

If you want to access the OneDrive folder, please use OneDrive account rather than File System, because the File System could not have access to OneDrive Folder.

If you want to access the local machine folder, I have made a test on my side and don’t have the issue that you mentioned.

The flow works successfully as below:2.JPG

 

3.JPG

Please check if you have created a proper connection to File system. Besides, check if you have chosen proper folder in Folder property of “When one or more files are added or modified (metadata only)” trigger.

 

Best regards,

Kris

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

I found a congifuration issue with the Gateway. Thanks for the reply!

r96359
Helper IV
Helper IV

@lalder 

Can you explain what the configuration issue was?

I am getting the same 400 issue as well and it's intermittent. 

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,818)