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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,995)