# "hs project upload" error

**URL:** <https://community.hubspot.com/t/hs-project-upload-error/149532>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [May 20, 2026, 2:30pm UTC](https://community.hubspot.com/t/hs-project-upload-error/149532 "2026-05-20T14:30:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anya23](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Anya23](https://community.hubspot.com/u/Anya23)\
**Post date:** [May 20, 2026, 2:30pm UTC](https://community.hubspot.com/t/hs-project-upload-error/149532/1 "2026-05-20T14:30:29Z")

</div>

I deleted 2 functions from my 2026.03 private app, and now I cannot upload it. I get the following error: ✖ ERROR Warning: You are about to remove a component. This operation may be irreversible and could have unintended consequences. Please review the impact of this removal before proceeding.  
There is no ‘confirm y/n’ prompt. That’s just the end. How can I upload my project?

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [May 20, 2026, 6:01pm UTC](https://community.hubspot.com/t/hs-project-upload-error/149532/2 "2026-05-20T18:01:52Z")

</div>

Hey @Anya23,  
Thanks for posting in the Community!  
Can you please upload a screenshot of what you see, as well as confirm whether the behavior is the same in an incognito window/different browser?  
Shane, Senior Community Moderator

---

<div class="post-metadata">

**Author:** ![Anya23](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Anya23](https://community.hubspot.com/u/Anya23)\
**Post date:** [May 21, 2026, 7:53pm UTC](https://community.hubspot.com/t/hs-project-upload-error/149532/3 "2026-05-21T19:53:55Z")

</div>

Hi,

I am not using a browser, I am using the “hs project upload” CLI command from VS Code. This is what I see:

 ![Anya23_0-1779393214050.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/0/0/00c009347dbc084b56e4e1e63fcad119f1ec2224.png)

When I re-added the function and the -hsmeta.json file the upload ran. When I removed them again, I got the above.

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [May 28, 2026, 12:36am UTC](https://community.hubspot.com/t/hs-project-upload-error/149532/4 "2026-05-28T00:36:20Z")

</div>

Hey @Anya23,  
Thanks for providing this! And apolgies for the delay here.  
I’d like to tag in a few Community experts to see if they have any insight on how to troubleshoot this.  
[@Phil\_Vallender](https://community.hubspot.com/t5/user/viewprofilepage/user-id/74), @Anton, and @alyssamwilie - do any of you have insight?  
Shane, Senior Community Moderator

---

<div class="post-metadata">

**Author:** ![Anya23](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Anya23](https://community.hubspot.com/u/Anya23)\
**Post date:** [May 28, 2026, 8:36pm UTC](https://community.hubspot.com/t/hs-project-upload-error/149532/5 "2026-05-28T20:36:46Z")

</div>

@STierney Ok, I’ve figured this out myself. When I am running “hs project upload” it is building and uploading the project, it is just not deploying that build. To fix this, use

hs project deploy --force then choose your latest build.

---

<div class="post-metadata">

**Author:** ![STierney](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stierney/32/186066_2.png) [@STierney](https://community.hubspot.com/u/STierney)\
**Post date:** [May 28, 2026, 10:31pm UTC](https://community.hubspot.com/t/hs-project-upload-error/149532/6 "2026-05-28T22:31:26Z")

</div>

Hey @Anya23,  
Thank you so much for confirming this solution!!  
Shane, Senior Community Moderator
