Forum Discussion
Anonymous
4 years agoNot applicable
API Unable to refresh in Power BI Service: The credentials provided for the Web source are invalid.
Hi there, I'm currently trying to refresh a connection to an API in Power BI Service, but I get the error: "The credentials provided for the Web source are invalid." In Desktop, it works fine...
Anonymous
4 years agoNot applicable
Unfortunately this doesn't resolve my issue.
mattww
4 years agoResponsive Resident
Anonymous , one other thing to check is whether you are using Basic Auth?
If you are and have put your credentials in when prompted on Power BI Desktop (i.e. see below), then you don't need the headers in your Web.Contents function as well.
Or alternatively, if you are keeping the authorization header in your Web.Contents, select Anonymous in the above dialog
Just a thought