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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (2,499)