cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
tayodell41
Level: Power Up

Sharepoint Extract Folder gives 400 BadRequest

I have a flow designed to automatically extract files from uploaded zipped archives. Here is how the flow is set up (if condition is no, it does nothing):

firsthalf.PNGsechalf.PNG

 

I have played around with the condition clause and determined that is not the issue, it reliable produces the correct file name and extention. This flow works maybe 1/10 times depending on the upload. Every other time it will either never run - like it doesn't realize a new file has been added to the sharepoint folder - or it gives a bad request error, pictured below:

error.PNG

 

The body of the error response is:

{
"message": "Unable to extract contents of file '/Metrics/xxxxxxxxxxx004_csv.zip'.\r\nclientRequestId: xxxxxxx\r\nserviceRequestId: xxxxxxxx;xxxxxx;xxxxxx",
"status": 400,
"source": "sharepointonline-ncus.azconn-ncus.p.azurewebsites.net"
}
 
This is the only flow that is running, and I have verified that the account has the correct license and permissions to read/write from this sharepoint folder.
 
Any help is appreciated as to what could be the cause.
1 REPLY 1
tayodell41
Level: Power Up

Re: Sharepoint Extract Folder gives 400 BadRequest

Interesting development - I have attempted to convert the sharepoint flow above to a OneDrive flow that does the same purpose in the same way, and I still get the 400 bad request error. The error body for that error is:

 

{
"status": 400,
"message": "Unable to extract contents of file '/Metrics/activityVolume.zip'.",
"source": "api.connectorp.svc.ms"
}

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (5,163)