This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Need help from the local Gurus.
I have the following connection in PowerBI desktop version to get data from an API source. With an anonymous authentication.
= Json.Document(Web.Contents("https://mysource/statistics/tenant/monthly", [Headers=[#"X-API-Key"="Mykey21123123"]]))
However, when I published this to PowerBi web, I can no longer refresh the data. When configuring test connection, i receive the 400 error. "Failed to update data source credentials: The credentials provided for the Web source are invalid."
Is there a way to fix it? (I've been going through the forum for the whole day, and couldn't resolve this).
Hi @Destined ,
This is the related document, you can view this content:
Solved: Failed to update data source credentials: Web.Cont... - Microsoft Power BI Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 26 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 65 | |
| 35 | |
| 32 | |
| 25 | |
| 23 |