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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors
Top Kudoed Authors