Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello,
I can't gather data from API in Power BI. Access is forbidden, seems need to get authorization key and provide it but how to implement this?
Solved! Go to Solution.
Hi @Analitika ,
According to the error message, it seems that you don't have the access to that API. You can refer the following links to make troubleshooting and find a solution.
Expression.Error: Access to the Resource is Forbidden: Fix
1. Reset the data connection to re-enter credentials
![]()
2. Select an alternative log-in option to connect to data
In addition, you can refer the blog below to retrieve the data from API.
How to access Power BI REST APIs programmatically
Best Regards
Hi @Analitika ,
According to the error message, it seems that you don't have the access to that API. You can refer the following links to make troubleshooting and find a solution.
Expression.Error: Access to the Resource is Forbidden: Fix
1. Reset the data connection to re-enter credentials
![]()
2. Select an alternative log-in option to connect to data
In addition, you can refer the blog below to retrieve the data from API.
How to access Power BI REST APIs programmatically
Best Regards
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.