Join 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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I'm having difficulty making Web.Contents work. I think anyone can get a key here: https://api.data.gov/signup
Power BI keeps throwing this error. Has anyone solved this? I didn't find anything helpful in other posts. ty
let
Source = Json.Document(Web.Contents("https://api.data.gov/ed/collegescorecard/v1/schools?id=100663&apikey=xxxxxxxxxxxxxxxxxxxxxx",
[Query=[apikey=" xxxxxxxxxxxxxxxxxxxxxx"]]))
in
Source
Solved! Go to Solution.
Found the answer here:
https://dev.applicationinsights.io/documentation/Using-the-API/Power-BI
"In the Access web content dialog, select Basic, enter your app's API key as the Username, and press Connect"
Hope this helps.
Found the answer here:
https://dev.applicationinsights.io/documentation/Using-the-API/Power-BI
"In the Access web content dialog, select Basic, enter your app's API key as the Username, and press Connect"
Hope this helps.
This is no longer working, unfortunately.
I haven't found the solution yet...
The issue for me is that none of the authentication options provided correspond to "api key", as opposed to Power BI Desktop.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 36 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |