Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am trying to get data from the json returned when calling the Gerrit rest api endpoint.
When doing a GET request from a REST client, the response is correctly returning the json.
The gerrit server is in a corporate network, but I am connected to the same when trying to get data.
Please see below screenshots for the same:
I have tried authentification with Organizational account and Basic, but no success.
Please advise how I can proceed.
EDIT: Tested from postman and seems like the mozilla extension was using my cached HTTP password.
From postman I was only able to successfully send a GET request using Digest Auth.
Is Digest Authentification supported in any way from Power Bi?
Solution was actually pretty straight forward:
Get Data> Web > Advanced > URL part (the api link) > HTTP request header parameters: Authorization Digest option
EDIT: Was happy to get the data in the query editor, but as soon as I wanted to apply the changes I was prompted for the credentials again. Using Anonymous connection is not working.
Please advise.
Hi @sfbloo,
We are currently looking into this issue and will give you an update as soon as possible. Thank you for your understanding and support.
Best Regards,
Angelia
Hello,
I am still struggling with the Digest authentification, any updates on the same?
A few more details, the issue from the refresh is that in the Header of the authentification I have added a nounce (required for the digest authentification) which expires. I need to be able to capture the nounce that the server sends in the response header in case of HTTP 401, so that I can re-construct the Header for the request.
Currently, I am trying to handle the HTTP 401 code, as per the following:
let
Source = Web.Contents(URL, [Headers=[Authorization="Digest username=""USERNAME"", realm=""REALM"", nonce=""NOUNCE"", uri=""URI"", qop=auth, nc=, cnonce="""", response=""RESPONSE"", opaque="""""],
ManualStatusHandling={401}]),
ResponseMeta = Value.Metadata(Source),
ResponseStatus = ResponseMeta[Response.Status]
in
ResponseStatus
However the responseStatus comes back as null, while it should be 401 code. All the reponse fileds are also null.
Any suggestions how I can achive my goal of using Digest authentification?
Thank you.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |