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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Griggers
Frequent Visitor

Data Source from the Web - API

HI,

Having issues loading an API into Power BI.

 

I am using the data source "From Web"

 

My Api looks like this -

https://api.websupervisor.net/v1.1/myname/units/genset91ac6e885c474a67bb55663bf2bda8c0/values

 

I have an authorization String (bearer xxxxxxxxxxxx) and a Comap-Key (Api Key).

 

I have added the URL above into the URL Parts, added both Authorization and Comap-Key to the HTTP request header parameters.

 

Getting this message -

 

Unable to connect

We encountered an error while trying to connect.

Details "The 'Authorisation' header is only supported when connecting anonymously. 

These hearders can be used with all authentication types: Accept, accept-Charset, accept-Encoding, Accept-Language, Cache-Control, Content Type, If-Modified-Since, Prefer, Range, Referer"

 

Any help appreciated.

Thanks Mark

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Clear the data source credentials for that data source, and then when asked to authenticate choose anonymous.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Clear the data source credentials for that data source, and then when asked to authenticate choose anonymous.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

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

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.