Forum Discussion
Expression.Error: Access to the resource is forbidden (WEB API)
Hi everyone,
I've been working on connecting Cisco Umbrella Web API Endpoints with Power BI recently. However, I've encountered an "Access to the resource is forbidden" error when trying to call the following URL: "https://api.umbrella.com/reports/v2/activity?from=-1days&to=now&limit=100&offset=0".
I've configured the Credentials Type as "Anonymous" and set the Privacy Level to "Organization."
I can successfully call the "https://api.umbrella.com/deployments/v2/sites" URL endpoint without any errors.
Any insights on how to resolve this issue or alternative solutions would be greatly appreciated.
Thanks!
Does it work in Postman? Yes.
According to the Umbrella API Documentation, Umbrella stores its reporting data in geolocated data warehouses, with separate endpoints for the EU and US regions:
For the EU region: api.eu.reports.umbrella.com
For the US region: api.us.reports.umbrella.comTherefore, I modified the URL as follows, and it now works correctly: https://api.umbrella.com/reports.us/v2/activity?from=-1days&to=now&limit=100&offset=0
lbendlin, Thank You!
6 Replies
- lbendlinSuper User
Are you using the Query parameter of Web.Contents ?
- PasanSenarathneRegular Visitor
Hi,
Yes, I used the query parameter inside the "Web.Contents".
- lbendlinSuper User
Check the token with jwt.io , maybe it has the wrong scope.