This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 May 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 |
|---|---|
| 30 | |
| 26 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 26 | |
| 20 | |
| 19 |