Forum Discussion
Mattdjuk
3 years agoNew Member
403 on Api call
Hi I keep getting the following when I call the https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/tables Error obtaining tables: StatusCode: 403, ReasonPhrase: 'Forbidden', Versi...
Mattdjuk
3 years agoNew Member
I've tried this, it makes no difference - the result is the same
Error obtaining tables: StatusCode: 403, ReasonPhrase: 'Forbidden', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Access-Control-Expose-Headers: RequestId
request-redirected: true
home-cluster-uri: https://wabi-uk-south-redirect.analysis.windows.net/
RequestId: d2f2de1b-9ca9-4c1f-9a5f-5932db9148b5
Date: Wed, 19 Apr 2023 07:50:02 GMT
Content-Length: 51
Content-Type: application/json; charset=utf-8
}mattiasdesmet
2 years agoResolver II
I also came across the error 403 frequently while first testing the API. I appeared I missed a few configuration items.
I summarized it in this document Use Power BI APIs from Azure Data Factory - Mattias De Smet
If it still doesn't work, you can provide your basic calls (which url, which method, which headers, etc...)? I noticed sometimes people use app.powerbi.com , which results in 403 because it has to be api.powerbi.com