{ "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-typesendpoint 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.
Unable to access the /events in 14 days free Content Hub Enterprise trial
resolver
@MrJustinGivens It seems that both scopes (analytics.behavioral_events.send and behavioral_events.event_definitions.read_write) are not part of the plan. Even after adding all the available scopes in the current plan (14 days free Content Hub Enterprise trial), the /events API endpoint is still not accessible.