Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I am connecting to api using username and password. but I am getting the authentication issue which is "Web.Contents with the Content option is only supported when connecting anonymously." My issue screenshot are mentioned below.
My code are:
---------------------------------------------------
let
url = "https://xxxxxxxxxxxxx.io/api/v1/order_view",
body = "{""order_id"":""11931""}",
Source = Json.Document(Web.Contents(url,[Content=Text.ToBinary(body),Headers=[#"Content-Type"="application/json"]])),
#"Converted to Table" = Record.ToTable(Source),
Value = #"Converted to Table"{3}[Value]
in
Value
Hi @RohitClouds
Did it work ? 👍 A kudos would be appreciated 📢 Mark it as a solution to help spreading knowledge
Thank you for your reply othy_bi. I am calling an API and we have api credentials for that I am not able to call anonymously.
Do you have any other ideas?
Change your source row as below and try again
Source = Json.Document(Web.Contents(url,[
Headers = [#"Content-Type"="application/json"],
Content = Text.ToBinary(body)
])),Did it work ? 👍 A kudos would be appreciated 📢 Mark it as a solution to help spreading knowledge
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 106 | |
| 102 | |
| 40 | |
| 29 | |
| 29 |