# POST /cms/v3/source-code/extract/{path} - does nothing?

**URL:** <https://community.hubspot.com/t/post-cms-v3-source-code-extract-path-does-nothing/72520>\
**Category:** CMS Development\
**Created:** [January 10, 2023, 10:24am UTC](https://community.hubspot.com/t/post-cms-v3-source-code-extract-path-does-nothing/72520 "2023-01-10T10:24:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xyboox](https://avatars.discourse-cdn.com/v4/letter/x/a6a055/32.png) [@xyboox](https://community.hubspot.com/u/xyboox)\
**Post date:** [January 10, 2023, 10:24am UTC](https://community.hubspot.com/t/post-cms-v3-source-code-extract-path-does-nothing/72520/1 "2023-01-10T10:24:44Z")

</div>

Trying to use the api to upload a zipped directory containing webp ( mostly ) files so I can later use the extract endpoint. While the upload works just fine, the extraction seems to do nothing. Well… at least not while the archive content is a directory. It seems to be working just fine when I compress a single file, upload it and then decompress. But not for a compressed directory. Is this by design?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 10, 2023, 10:48pm UTC](https://community.hubspot.com/t/post-cms-v3-source-code-extract-path-does-nothing/72520/2 "2023-01-10T22:48:50Z")

</div>

Hi, @xyboox 👋 Thanks for reaching out! Hey, [@Jake\_Lett](https://community.hubspot.com/t5/user/viewprofilepage/user-id/72866) @albertsg, do you have any experience with importing design assets in this manner?

Thank you for taking a look! — Jaycee

---

<div class="post-metadata">

**Author:** ![xyboox](https://avatars.discourse-cdn.com/v4/letter/x/a6a055/32.png) [@xyboox](https://community.hubspot.com/u/xyboox)\
**Post date:** [January 11, 2023, 9:03am UTC](https://community.hubspot.com/t/post-cms-v3-source-code-extract-path-does-nothing/72520/3 "2023-01-11T09:03:53Z")

</div>

After some more attempts I learned that although the api call response is empty ( response code 204 ), the expanding takes places on 2 conditions: a directory with the same name as the zip file does NOT exist yet and the archive does NOT contain any webp files. Second condition defeats the whole purpose I used the api call for. At this point I’m stuck ( I have ~3500 webp wiles I need to upload for the website ).
