The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have been using API data source for a few months now, but in the last week i am getting an error
stating power bi cant authenticate the credentials given for the API source which is Anonymous.
My API code :
let
url = "#######################################",
Content = "{
""DateTimeFromUTC"" : ""2019/01/01 00:00:00"",
""DateTimeToUTC"" : ""2019/03/31 23:59:59""
}
",
Source = Json.Document(Web.Contents(url,[Headers =[#"Content-Type"="application/json", #"AUTH_TOKEN" = "#################"],Content = Text.ToBinary(Content) , Timeout=#duration(0,2,0,0)
]
))
in
Source
Any Suggestions ?
User | Count |
---|---|
5 | |
2 | |
2 | |
2 | |
2 |
User | Count |
---|---|
11 | |
7 | |
5 | |
4 | |
4 |