cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

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
Currently online: 159 members 5,225 guests
Please welcome our newest community members: