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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors