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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors
Top Kudoed Authors