Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have an API :
curl --location --request GET 'https://api.typeform.com/forms/ecTbgcrP/responses' \
--header 'Authorization: tfp_KNzKHoGB1jDiiiTsttoNLF7Jf2MdYa4SWfuQexGJvX7_e4s2bwBcZnE4'Now i want to read this API with this authorization in power bi query.
I tried the following but its not working unfortunately;
let
Source = Json.Document(Web.Contents("https://api.typeform.com/forms/ecTbgcrP/responses", [Headers = [Authorization = "tfp_KNzKHoGB1jDiiiTsttoNLF7Jf2MdYa4SWfuQexGJvX7_e4s2bwBcZnE4"]]
))
in
Source
How can i fix this?
Check the API documentation again. Authorization should say something like Basic or Bearer etc.
@lbendlin It's a Oauth2.0 authorization. So I have a token. How do i need to implement this?
Use "Bearer " (with space) and your token.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |