Marketplace app error when uploading webhooks project

An internal error occurred while upserting webhooks subscriptions. Try again later. If the problem persists, contact HubSpot support.

I am trying to upload the webhooks project and get this error every time I upload my webhooks project. Despite showing the error, the webhooks gets deployed and I see the webhook subscriptions active in my settings. Is this error a bug?

If I remove the webhooks project then it uploads and deploys the rest of the marketplace app correctly

Hi @Madhan-d! Thanks for posting in our Community!

As you’ve explained, your subscriptions API calls appear successful, however, you’re still seeing the error "Try again later. If the problem persists, contact HubSpot support. As the calls appear successful, its possible this could be an error simply displayed in the UI. To fully diagnose the issue we would likely need to see the full request and response that you’re seeing on your end, and where you’re seeing the error specifically. If the issue does persist, reaching out to Support directly would likely be your best resource here!
In case this may be a familiar to them, I’m going to loop in a few of our experts!

@RubenBurdin, @GRajput, and @SteveHTM!

@SamTassey Thank you for quick response. Steps to reproduce the error -
-Create a marketplace app with settings and webhooks
-Upload the app to hubspot - hs project upload
-It shows the error right away - And like you said it could also be just a bug thats showing the error. As I see webhooks inside my project in hubspot developer portal.

Madhand_0-1764744423984.png

-If I delete the webhooks project, and run upload again it works without error - hs project upload
-Error displays only when I include the webhook project.
-I wanted somebody from the developers to confirm this indeed a buggy error message.

Hey @Madhan-d , yes, what you’re describing lines up with a behavior a few of us have seen recently, and your reproduction steps are very clear. Based on that, this does look like a UI or validation bug rather than an actual deployment failure.

What’s happening under the hood is that the webhooks subscriptions are successfully created via the Subscriptions API during hs project upload, but the Marketplace upload flow still throws a generic “internal error occurred while upserting webhooks subscriptions” message. The giveaway is exactly what you observed: the webhook subscriptions are visible and active in the developer portal after the upload completes. If there were a real failure, they wouldn’t exist at all.

With how the CLI and Marketplace validation behave today, the upload process is not fully transactional. One step can fail in the UI layer or validation pass, while the backend API call still succeeds. Webhooks are especially prone to this because the Marketplace uploader tries to reconcile existing subscriptions with the project definition, and any mismatch or timing issue can surface as a false-negative error.

The fact that removing the webhooks project makes the error disappear strongly suggests the rest of your app is fine, and the error is isolated to that reconciliation step, not your configuration. At that point, there’s nothing actionable on your side unless Support confirms a specific constraint violation.

If you want a definitive confirmation, the only real path is a Support ticket so engineering can check the internal logs for your app ID. But from a practical standpoint, if the subscriptions are present, firing, and editable after upload, you can safely treat this as a misleading error message rather than a broken deploy.