Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jamescosten
Helper I
Helper I

WEB API Error - API Key Name is provided.

Im going to begin with I have no Idea how API works but I thought this would be fairly straight forward.

 

I have a URL and a Key but when I Neter it on the Get Data on Power Bi Desktop I get this Error.

 

jamescosten_0-1700568633946.png

Now the URL and Key works as I can view it on Swagger, but cannot for the life of me find a solution on Google, not sure if thats a limitation of my searching ro that Google is filled with utter rubbish.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jamescosten ,

Please review the content in the following links, hope they can help you resolve the problem.

Get data from web error: A web API key can only be specified when a web API key name is provided

Suggestions :

  1. Open the Desktop , and on the "home" tab , select get data and choose Web 
  2. Paste your metric query's URL into the Power BI dialog asking for the Web page URL.
  3. In the Access web content dialog, select Basic, enter your app'sAPI keyas the Username, and pressConnect

Best Regards,
Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
mariamdembele
New Member

Bonjour à tous, comment creer un API pour integer power bi à son sever?? 

Merci de me repondre , c'est tres urgent.

Anonymous
Not applicable

Hi @jamescosten ,

Please review the content in the following links, hope they can help you resolve the problem.

Get data from web error: A web API key can only be specified when a web API key name is provided

Suggestions :

  1. Open the Desktop , and on the "home" tab , select get data and choose Web 
  2. Paste your metric query's URL into the Power BI dialog asking for the Web page URL.
  3. In the Access web content dialog, select Basic, enter your app'sAPI keyas the Username, and pressConnect

Best Regards,
Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors