By prodding the API manually I have generated this error:
{
"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": "aa4b5735-abb5-4ff3-8aa4-2cd24a43f7f1",
"errors": [
{
"subCategory": "SubscriptionErrors.REQUIRED_SCOPE_SUBSCRIPTION_DETAIL",
"message": "subscriptionType 'ticket.creation requires one of scopeCandidates on configured app: `[RequiredScopeGroup{id=17, name=tickets, shortDescription=Read and write tickets, version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=689, name=tickets.sensitive.v2, shortDescription=Tickets (sensitive), version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=274, name=crm.objects.tickets.read, shortDescription=Tickets, version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=276, name=crm.schemas.tickets.read, shortDescription=Tickets, version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=230, name=tickets.highly_sensitive, shortDescription=Tickets (highly-sensitive), version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=730, name=tickets.highly_sensitive.v2, shortDescription=Tickets (highly-sensitive), version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=189, name=tickets.sensitive, shortDescription=Tickets (sensitive), version=GRANULAR, visibility=VISIBLE}]`",
"context": {
"subscriptionType": [
"ticket.creation"
],
"scopeCandidates": [
"[RequiredScopeGroup{id=17, name=tickets, shortDescription=Read and write tickets, version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=689, name=tickets.sensitive.v2, shortDescription=Tickets (sensitive), version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=274, name=crm.objects.tickets.read, shortDescription=Tickets, version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=276, name=crm.schemas.tickets.read, shortDescription=Tickets, version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=230, name=tickets.highly_sensitive, shortDescription=Tickets (highly-sensitive), version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=730, name=tickets.highly_sensitive.v2, shortDescription=Tickets (highly-sensitive), version=GRANULAR, visibility=VISIBLE}, RequiredScopeGroup{id=189, name=tickets.sensitive, shortDescription=Tickets (sensitive), version=GRANULAR, visibility=VISIBLE}]"
]
}
}
],
"category": "VALIDATION_ERROR",
"subCategory": "SubscriptionErrors.REQUIRED_SCOPES_SUBSCRIPTION_FAIL"
}
So it seems fairly obvious that this is a bug, in that the trigger has been written in a way that expects me to be able to view the contents of errors, but that content is never printed in the log so the user has no way of getting to it.
There seems to be a related issue; when you connect to HubSpot to create credentials, n8n selects a requested set of scopes (contacts, companies, deals). If these don’t match what’s been configured in the HubSpot Developer app, the credentials cannot be created. If you change the required scopes in the app to match what has been requested, then you only get the data for those things. So there will never be a way to get events for tickets, for example.
There needs to be a way to select the required and optional scopes that are being requested when the credential is being created, so that they match the app you are connecting to.
I will raise these things in the appropriate way.