Forum Discussion
Error 403 when trying to read data form a data set
Hi ElfoEspacial ,
According to the error code, it seems that it is caused by insufficient permissions or authentication. You can refer the following links to solve the problem.
A 403 error can occur for any of the following reasons. A Fiddler capture might be required to investigate further.
- The user has exceeded the amount of embed token that can be generated on a shared capacity. Purchase Azure capacities to generate embed tokens and assign the workspace to that capacity. See Create Power BI Embedded capacity in the Azure portal.
- The Azure AD authorization token expired.
- The authenticated user isn't a member of the group (workspace).
- The authenticated user isn't an admin of the group (workspace).
- The authenticated user doesn't have permissions. Permissions can be updated using the refreshUserPermissions API.
- The authorization header might not be listed correctly. Make sure there are no typos.
The backend of the application might need to refresh the authorization token before calling
GenerateToken. For more information, see Refresh the access token.
Solved: Power BI REST API gives 403 error (User does not h... - Microsoft Power BI Community
It seems I found the hidden setting:
https://community.powerbi.com/t5/Service/Manage-Permissions-in-Power-BI-Service/td-p/322832
Apparently, the dataset in the workspace requires the user to be added with "Manage permissions"...
After I did that, the error disappeared.
Best Regards