Forum Discussion

wes-shen's avatar
wes-shen
Frequent Visitor
3 years ago

How to schedule refresh API source with Authorization header

Hi there,

 

On Power BI desktop, I successfully connected to a API web source with "Authorization" as header and a bearer token.

In the data source settings, the type is set to Anonymous

 

I've published the report successfully onto Power BI Service.

 

However, I encountered a (400) Bad Request error when I tried to authenticate the data source, which I believe I need to do in order to schedule a data source refresh.

 

 

Any ideas how I can resolve this?

 

Thanks

Wes

 

3 Replies