Failure to create new webhook subscriptions

I’m trying to create event subscriptions for the webhook in my application for the following events: conversation.creation and conversation.newMessage.
However, when I click the subscribe button, it gets stuck on the screen and nothing happens. Upon investigating the API response, I was able to identify an error, as follows:

{
 "status": "error",
 "message": "To subscribe to these events your app must require certain scopes defined in \"errors\". Update your app’s auth configuration to fix this.",
 "correlationId": "15796114-cb2b-4173-a9db-c0dfdb469663",
 "errors": [
 {
 "subCategory": "SubscriptionErrors.REQUIRED_SCOPE_SUBSCRIPTION_DETAIL",
 "message": "subscriptionType 'conversation.creation requires one of scopeCandidates on configured app: `[]`",
 "context": {
 "subscriptionType": [
 "conversation.creation"
 ],
 "scopeCandidates": [
 "[]"
 ]
 }
 },
 {
 "subCategory": "SubscriptionErrors.REQUIRED_SCOPE_SUBSCRIPTION_DETAIL",
 "message": "subscriptionType 'conversation.newMessage requires one of scopeCandidates on configured app: `[]`",
 "context": {
 "subscriptionType": [
 "conversation.newMessage"
 ],
 "scopeCandidates": [
 "[]"
 ]
 }
 }
 ],
 "category": "VALIDATION_ERROR",
 "subCategory": "SubscriptionErrors.REQUIRED_SCOPES_SUBSCRIPTION_FAIL"
}

I have checked and all the necessary permission scopes have already been defined, especially conversations.read.
I imagine this is some issue with a recent update to Hubspot because this action was working not too long ago.

Hi @ChClaudIA ,
Looks like this might just be a HubSpot bug.
If possible I’d try creating another private app or if you have the possibility try it out on a sandbox portal.
If that doesn’t work your best next step would be to reach out to support so they can open a ticket and get this sorted for you.
If my post helped answer your query, please consider marking it as a solution.

I am running into a related error for custom objects. We are conditionally requiring the `crm.objects.custom.read` scope, but it never seems to get saved properly on Hubspot’s side.
When I move the scope from “Conditionally Required” to “Required” - then I am able to programatically subscribe to custom object creation webhooks, but until then I get the scope error.

Is there a reason why a conditoinally required scope is not saved with my authorization if a user has that scope available?

Hi @crespire
Thanks for your comment!

To ensure your question or topic gets the best visibility and a wider range of responses from the community, it’s usually best to start a new thread rather than adding to an older one.
A fresh post will help your query stand out to everyone who browses the forum, increasing the chances of someone with relevant insights or solutions seeing and responding to it quickly.

Feel free to tag me in the post and I’m happy to get you started.
Best,