Account type - HubSpot 14 days free Content Hub Enterprise trial
I’m trying to access the https://api.hubapi.com/events/v3/events endpoint usign the auth token of private app with scopes business-intelligence and oauth.
But i’m getting the below error
{"status": "error","message": "Insufficient scopes, requires one of: [event-detail-read]","correlationId": "e40e470f-03d1-4a71-9bef-1b7f00ygw321","errors": [{"message": "Your app doesn't the have scopes needed to make this call. Do you have access to the 'business-intelligence' scope? Missing auth details: event-detail-read"}],"category": "INVALID_AUTHENTICATION"}
But i can access the /events/v3/events/event-types endpoint data with the same auth token of private app.
In the api doc of both endpoint only oauth scope is required so i need help in understanding how to access the /events endpoint. and what is/are the exact scope needed to access this?
Also is this issue because of HubSpot 14 days free Content Hub Enterprise trial account?
Also i can’t find event-detail-read scope (mentined in the error message) in the private app scope list.
API call analysis
-
For both APIs, providing only the OAuth scope results in an error indicating that the required ‘business-intelligence’ scope is missing.
-
Adding the ‘business-intelligence’ scope, while noting that ‘oauth’ is included by default in all apps,
- Allows us to fetch data from the /event-types endpoint.
- However, when accessing the /events endpoint, we still encounter an error stating that the app does not have the required ‘business-intelligence’ scope.
