Get events API not fetching due to not having required Scopes

wbs-tech
Member

Hey there, when trying to fetch from the `reports/v2/events` API I am getting the following error - 

wbstech_0-1692718133385.png

But from within the Private App settings the `business-intelligence` scope has already been selected.

wbstech_1-1692718168395.png


Is the API response incorrect or am I doing something wrong here?

0 Upvotes
1 Accepted solution
coldrickjack
Solution
Guide

Hey @wbs-tech,

 

Everything looks ok to me, if it's a public app you will need to go through the auth process (re-install the app) if you updated the scopes after the app was installed. If that isn't the issue the only other thing I can think of is that your attempting to make this call to a portal that does not have Marketing Hub Enterprise.

 

You'll notice from the documentation that it mentions "access to the data from this endpoint will require a marketing hub enterprise subscription".

 

Hope this helps! 

View solution in original post

0 Upvotes
1 Reply 1
coldrickjack
Solution
Guide

Hey @wbs-tech,

 

Everything looks ok to me, if it's a public app you will need to go through the auth process (re-install the app) if you updated the scopes after the app was installed. If that isn't the issue the only other thing I can think of is that your attempting to make this call to a portal that does not have Marketing Hub Enterprise.

 

You'll notice from the documentation that it mentions "access to the data from this endpoint will require a marketing hub enterprise subscription".

 

Hope this helps! 

0 Upvotes