Forum Discussion
nlombardiCL
9 years agoRegular Visitor
"The remote server returned an error: (403) Forbidden." error when calling from REST service.
Hello, We are using an angular2 SPA to interact with our REST API services. We have a report service that we would like to use to call the Power BI REST API service endpoints. We acquire an azu...
Eric_Zhang
Microsoft Employee
9 years agoThe code looks good.
Ensure the accessToken is valid. You can try to access the API with POSTMAN with the accesstoken.
For testing purpose, you can also get a valid token with the help of Chrome dev tool(F12).