Forum Discussion
Anonymous
5 years agoNot applicable
Power BI Export To File API gives 403 error
Hi All, I am using the following code to get the responseof delay time for Export file using the Export To File API, while executing this code with valid token but i am getting 403 as respons...
ibarrau
5 years agoSuper User
Hi. The problem might be in permission. 403 means forbiden. Even if you get a bearer token, that token can't complete the action because it doesn't have permission. An example of that is using a regular user to try an admin request. Please be sure to delegate the permissions in the registered app in Azure of Power Bi Service. It looks like that registered app is missing something for exporting.
Hope this helps,