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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

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 @Anonymous ,

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 @Anonymous ,

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.