Forum Discussion

Aarush's avatar
Aarush
Regular Visitor
4 years ago
Solved

Getting 403 when calling power bi rest api from postman client

Hi Power BI Experts - I have a requirement to call power bi rest api from dot net code, but before that I was trying to test it using powetman client, but getting 403 error when calling power bi rest...
  • Aarush's avatar
    4 years ago

    I was able to resolve it.

    The resolution is, I was using oauth 2.0 V1 end point for token generation which was giving 403 when being used with Power BI rest api, but when I tried oauth 2.0 V2 end point to generate tojen , it worked.

    I would really be happy, if some kind of error message was thrown in response body to troubleshoot this, but this resolution may help for other users if they fall into similar issue.