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.
