APIs & Integrations

Benchmark_achen
参加者

Get Events API permissions

解決

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 いいね!
1件の承認済みベストアンサー
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Get Events API permissions

解決
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

元の投稿で解決策を見る

2件の返信
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Get Events API permissions

解決
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
Benchmark_achen
参加者

Get Events API permissions

解決

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

 

Thank you!

--Allan