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 moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello Power BI Pros,
We call an azure function url via Web.Contents() method as following:
let
Source = (CustomerGuid as text) => let
Source = Json.Document(
Web.Contents(
"http://powebidatarefresh.azurewebsites.net/api/PBIRefreshFunction/Run/",
[RelativePath = CustomerGuid]
)
) in Source
in
Source
It workes very well but when I chose a bigger data set to refresh I face this error in power bi desktop:
It looks like the result coming from the http call is bigger that the gateway capacity.
Is there a workaround or a way to handle this issue, for example by chunking the data or paginate it or enlarging the gateway!
Thank you for your support!
Hi @walid140891 ,
Have you trid to create a brand new Power BI file and connect it again?
If possible, go to Data Source Settings to remove the added data source credentials before recreating the Power BI file.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello @Anonymous, ,
Thank you for your response, I tried your suggestion and it worked when I called the http azure function URL, but when I add the rest of the tables (so many tables based on the first one created by the call) I receive the same error: 502 badgateway and sometimes 500!!
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 |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |