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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Nickodemus
Helper III
Helper III

Having trouble with get date from web api with personal key

I'm trying to connect to Freckle (time reporting application) using the web api and a personal key authentication.

 

When i try to get the data and connect i get to the following window:

20170620_screenshot.png

I kept getting an error saying "A web api key can only be specified when a web api key name is provided", so i tried to make sense of a tutorial, but failed badly. What i think i understand is that i need to add that "ContentType" header parameter, but from that point, i have no idea what i'm doing.

 

I've generated a personal key from the web application, but if someone could help i'd really appreciate it.

 

Many thanks.

1 REPLY 1
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Nickodemus,

You can specify an API key name in the hearers area of Web.Contents using Advanced Editor. You can review the example in this blog: https://msdn.microsoft.com/en-us/library/mt260892.aspx .


There is also a similar thread for your reference.
https://community.powerbi.com/t5/Desktop/Get-data-from-web-error-A-web-API-key-can-only-be-specified...

Regards,

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors