Forum Discussion
MyThumbsClick
Helper II
2 years agoAPI auth - Use parameter instead of Data Source Setting GUI
Hi All Very new to Power BI but slowly figuring things out. I have a json API source that currently uses a web source and Basic authentication via the Data Source GUI. This works great. Usernam...
- 2 years ago
change your data source settings to anonymous auth.
lbendlin
Super User
2 years agono, the ) afterwards.
- MyThumbsClick2 years ago
Helper II
That was a typo in my post. Heres what it currently looks like:
let Source = Json.Document(Web.Contents(FreshserviceBaseURL, [RelativePath="tickets", Headers=[Authorization="Basic " & FreshserviceAuthHeader]])) in Source- lbendlin2 years ago
Super User
change your data source settings to anonymous auth.
- MyThumbsClick2 years ago
Helper II
Ok, Looking at this with fresh eyes, setting to anonymous auth does do the trick. Thank you for your help!