web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / 'Extract archive to fo...
Power Automate
Unanswered

'Extract archive to folder' failed - BadRequest - Status Code 400

(3) ShareShare
ReportReport
Posted on by 4

Running out of ideas how to fix a pretty simple flow for extracting ZIP file in OneDrive for Business folder.

 

Tried various changes like different triggers, and overwrite off/on still exactly the same outcome.

 

UPDATE: I found that when copying ZIP file from FTP to OneDrive For Business, MS Flow changes the file slightly, which then breaks ZIP structure and doesn't allow extraction after this. 

 

Any recommendations, on how to copy ZIP files from FTP without affecting their structure?

 

 

Please help!

 image

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @gentsuki,

     

    Could you share more details on your flow? How is it created?

    What’s the detailed error message?

    I have made the following test to copy ZIP file from SharePoint library to OneDrive for Business, then Extract archive to folder.

    It is configured likes below. Please check it for a reference and try again on your side.

    1.PNG2.PNG

     

    Best regards,

    Mabel

  • vz Profile Picture
    4 on at

    hi @v-yamao-msft 

    I have a similar flow extracting a folder stored in the SharePoint library.

    Strange thing is that it was working before but it's not working anymore...

    Annotation 2019-10-16 142041.pngAnnotation 2019-10-16 140854.png

  • JenVitug Profile Picture
    264 on at

    @v-yamao-msft  , please help me, i have the same error for below flow , error occurs in Extract folder STEP 😞

    FLOW Unable to extract zip file to SP folder.JPG

     

    Error message :   

    Unable to extract contents of file '/Geo IT PH Documents/Message Report.zip'.
    clientRequestId: fba1f522-f37a-41b9-a4cc-e1be66c20abf
    serviceRequestId: d04a6d9f-e085-b000-12ef-23893697c3a9;d04a6d9f-d089-b000-12ef-258390175731;d04a6d9f-c08b-b000-12ef-2b440c2b19fc

     

     

    I have tried the same flow for a zip file that contains an excel file (xlsm)  and it did not encounter error.

     

    The Zip file that i get this error  is one that contains a  CSV file in it .  Could it be that CSV files that are ZIPPED cannot be extracted ?

     

     

  • Spinner Profile Picture
    101 on at

    @gentsuki- similar problem here, though in my case I'm uploading to a SharePoint library. Sometimes the unzipping works, but often it fails. However, pressing "Resubmit" on the flow in Power Automate often works without any problem.

     

    I saw a similar problem here: https://powerusers.microsoft.com/t5/Connecting-To-Data/Sharepoint-Extract-Folder-gives-400-BadRequest/td-p/208105

    In that problem, the zip file contained a CSV file, like @JenVitug reported. Did your zip file also contain something similar? Mine doesn't contain a CSV file, but does contain XML.

  • marioS Profile Picture
    36 on at

    I have the exact similar issue right now. My zip file contains CSV and XML 😉 did not really find a solution after few hours... any idea is warmly welcomed...

    marioS_0-1628078653778.png

     

    @JenVitug and @Spinner kindly ask you to share your solution if you could make it work ...

     

  • Spinner Profile Picture
    101 on at

    @marioS  It's not a solution, but a couple of days ago I introduced a 5-minute Delay action directly after the trigger. Since then all the runs have gone through successfully (so far).

  • marioS Profile Picture
    36 on at

    @Spinner i will at least give it a try… will let you know if it worked… 

  • El_Diego76 Profile Picture
    7 on at

    Did it work or did you find another solution?

  • marioS Profile Picture
    36 on at

    @El_Diego76 unfortunately it did not work with the delay. Still getting the same error... Other solutions are still appreciated

  • 27Merlins Profile Picture
    5 on at

    I am having this same issue, and I have also not been able to find a solution. Does anyone have any update on this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard