Forum Discussion

PasanSenarathne's avatar
PasanSenarathne
Regular Visitor
2 years ago
Solved

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!

 

 

6 Replies

    • PasanSenarathne's avatar
      PasanSenarathne
      Regular Visitor

      Hi, 

       

      Yes, I used the query parameter inside the "Web.Contents". 

       

      • lbendlin's avatar
        lbendlin
        Super User

        Check the token with jwt.io , maybe it has the wrong scope.