cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tayodell41
New Member

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.
2 REPLIES 2
tayodell41
New Member

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"
}
Mfink
New Member

@tayodell41 Have you had any luck resolving this issue. I am experiencing the exact same error and reason when trying to extract from/to OneDrive.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,303)