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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.