# Failing to deploy private app

**URL:** <https://community.hubspot.com/t/failing-to-deploy-private-app/138826>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [September 1, 2025, 10:56am UTC](https://community.hubspot.com/t/failing-to-deploy-private-app/138826 "2025-09-01T10:56:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredrik-r](https://avatars.discourse-cdn.com/v4/letter/f/8dc957/32.png) [@fredrik-r](https://community.hubspot.com/u/fredrik-r)\
**Post date:** [September 1, 2025, 10:56am UTC](https://community.hubspot.com/t/failing-to-deploy-private-app/138826/1 "2025-09-01T10:56:43Z")

</div>

We have a private app which now fails being deployed to production.

I’ve done changes locally and ran “hs project upload” and it works fine in Sandbox. I were happy with the changes and ran “hs project upload --account=production”, it ran the build but never triggered the automatic deploy.

I’ve tried locally using “hs project deploy” and got this error back:

[ERROR] We encountered an issue deploying build 21. Please review the build details for more information, or reach out to HubSpot support if you need assistance.  
- This deploy would remove the Abonnemang component. To proceed, run the deploy command with the `--force` flag  
- This deploy would remove the Service Subscription component. To proceed, run the deploy command with the `--force` flag

Not sure why it think I want to remove components in production compared to Sandbox. I’m a bit concerned to run it with --force as it could cause these cards to stop working. The build itself looks the same as in sandbox and it has no errors.

We’re still on the 2023.2 platform.

---

<div class="post-metadata">

**Author:** ![Victor\_Becerra](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@Victor\_Becerra](https://community.hubspot.com/u/Victor_Becerra)\
**Post date:** [September 1, 2025, 9:26pm UTC](https://community.hubspot.com/t/failing-to-deploy-private-app/138826/2 "2025-09-01T21:26:46Z")

</div>

Hi @fredrik-r  
Thank you for reaching out to the Community!  
I’d like to invite some community members who are subject matter experts to join this conversation.  
@SteveHTM @FrancoQ @kosalaindrasiri - Would you be able to share any insights on this? Your expertise would be greatly appreciated.  
Best,  
Victor

---

<div class="post-metadata">

**Author:** ![fredrik-r](https://avatars.discourse-cdn.com/v4/letter/f/8dc957/32.png) [@fredrik-r](https://community.hubspot.com/u/fredrik-r)\
**Post date:** [September 2, 2025, 6:20am UTC](https://community.hubspot.com/t/failing-to-deploy-private-app/138826/3 "2025-09-02T06:20:56Z")

</div>

Here’s our full build log. We’re aware that the version needs to be updated soon.

The log is the same in Sandbox, there’s no error logs.

[WARN]  
sep 01 12:45:30PM CEST [/app/extensions/ServiceSubscription.jsx] Platform version 2023.2 is no longer supported. Projects should be upgraded to a currently supported Developer Platform version; version 2026.09 is now generally available.  
[INFO]  
sep 01 12:45:30PM CEST [/app/extensions/ServiceSubscription.jsx] Building extension at parent path: /app/extensions/  
[INFO]  
sep 01 12:45:33PM CEST [/app/extensions/ServiceSubscription.jsx] Successfully built extension at path: /app/extensions/  
[WARN]  
sep 01 12:45:33PM CEST [Abonnemang] Platform version 2023.2 is no longer supported. Projects should be upgraded to a currently supported Developer Platform version; version 2026.09 is now generally available.  
[INFO]  
sep 01 12:45:34PM CEST [Abonnemang] Validating crm card at path: /app/extensions/service-subscription.json  
[INFO]  
sep 01 12:45:34PM CEST [Abonnemang] Successfully built crm card at path: /app/extensions/service-subscription.json  
[WARN]  
sep 01 12:45:34PM CEST Platform version 2023.2 is no longer supported. Projects should be upgraded to a currently supported Developer Platform version; version 2026.09 is now generally available.  
[INFO]  
sep 01 12:45:34PM CEST Finished building PrivateApp component from path: /app/

Here’s the error we get when trying to manually deploy from the UI:

 ![154547iC8811E4AC7143E30.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/9/59e1dde9cf244564a49c68c735d153fb35731efe.png)

_Moderator Note: this post was reviewed for relevancy and optimized for clarity on September 30, 2026. Thank you for your contributions to the HubSpot Community!_

---

<div class="post-metadata">

**Author:** ![Victor\_Becerra](https://avatars.discourse-cdn.com/v4/letter/v/87869e/32.png) [@Victor\_Becerra](https://community.hubspot.com/u/Victor_Becerra)\
**Post date:** [September 9, 2025, 3:08pm UTC](https://community.hubspot.com/t/failing-to-deploy-private-app/138826/4 "2025-09-09T15:08:31Z")

</div>

Hey @fredrik-r  
I’m pulling in some more experts to get more eyes on this. 👀  
Hey @MichaelMa @Humashankar [@HubSpot\_Corey](https://community.hubspot.com/t5/user/viewprofilepage/user-id/580930) any thoughts on this when you get a chance? We’d appreciate your help.  
Thanks, Victor

---

<div class="post-metadata">

**Author:** ![fredrik-r](https://avatars.discourse-cdn.com/v4/letter/f/8dc957/32.png) [@fredrik-r](https://community.hubspot.com/u/fredrik-r)\
**Post date:** [September 10, 2025, 6:57am UTC](https://community.hubspot.com/t/failing-to-deploy-private-app/138826/5 "2025-09-10T06:57:42Z")

</div>

This has been resolved now.

I double checked the build and compared every file with the previous build.

Apparently the uid in the app.json got changed, not sure why or how.

But when I changed it back to how it was the deploy worked, not sure why I didnt get that error in sandbox.
