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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,794)