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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors