Forum Discussion
Authorization Header unsupported but using Anonymous Credentials PowerBI API
- Anonymous3 years ago
Hi EBWorkingItOut ,
As far as I know, this error you were seeing was not from PowerBI but from the API you were trying to connect to. Somehow your datasource may stop trying to login "Anonymous" and had got set to "Basic". You can reset the type by steps as below.
File>Options and settings>Data source settings
Then edit the permission to reset the type. The credential type should look like as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I'm currently facing same issue. I have checked my data source settings and it is set to anonymous and none. but it's still shows error as below:
Expression.Error: The 'Authorization' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, Content-Type, If-Modified-Since, Prefer, Range, Referer
I have also tried creating new query but still getting same error.