Get Events API permissions

SOLVE
Benchmark_achen
Participant

Hi,

I'm trying to get the Events records from Hubspot into our database using API:  https://api.hubapi.com/reports/v2/events

 

It errors out with the following messages:

Response Url: https://api.hubapi.com/reports/v2/events

Status Code: Forbidden

"status":"error","message":"This oauth-token (token) does not have proper permissions! (requires all of [event-analytics-api-access])","correlationId":"d5d1e5f3-ecc2-4074-a8f2-2cea4aec4301","requestId":"fef99da62bc155419d1a587f554ae982"

 

What permissions or scopes do I need to set in order to make this work?

 

Thanks,

Allan

 

0 Upvotes
1 Accepted solution

Accepted Solutions
himanshurauthan
Solution
Recognized Expert | Platinum Partner
Hello @Benchmark_achen
please try to use scope of business-intelligence while having oauth with HubSpot and then make use of access token for this api call.

Thanks
Digital Marketing & Inbound Expert In Growth Hacking Technology

View solution in original post

2 Replies 2
himanshurauthan
Solution
Recognized Expert | Platinum Partner
Hello @Benchmark_achen
please try to use scope of business-intelligence while having oauth with HubSpot and then make use of access token for this api call.

Thanks
Digital Marketing & Inbound Expert In Growth Hacking Technology

View solution in original post

Benchmark_achen
Participant

That solved the problem!  I added business-intelligence to the oauth scope and in our app.

 

Thank you!

--Allan