March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a new report that I cannot get the semantic model to refresh on the Power BI Service, but it refreshes just fine on Power BI Desktop. I have an existing report that uses 1 of the same 3 data sources, and refreshes fine on the PBI Service. The error(s) make no sense, it says "Please make sure your data gateway (personal mode) is installed and configured properly". My sources are all external websites, nothing "internal" that uses a gateway.
1. ClickUp API
2. Harvest API
The existing scheduled refresh semantic model calls the Harvest API and works just fine, no errors. If I go to Manage Connections and Gateways, I have them all set to Anonymous, Privacy set to Public (it was Organizational, and received the same errors). I have it set to skip test connection since ClickUp and Harvest both need my provided authentication keys.
Data Source Credentials under Settings for the semantic model is greyed out, I cannot get in to set/check credentials.
In Power BI Desktop, I can refresh it just fine, no errors. I can't quite figure out how to get past this or find what the real error is (since it can't actually be a gateway error). Any ideas would be appreciated.
Solved! Go to Solution.
Hi jkuntz
In my experience, APIs in Power Query can be super weird. I've had many cases of queries which work fine in Power Query or Dataflows, but once published fails during the refresh.
What I've found is that the most common culprit are POST requests and requests with dynamic urls in general (as in, if you use a function to handle pagination for example). Is that the case with any of your APIs that fail?
Can you perhaps upload the M-code here for dislay here?
_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data
Thank you! That is totally what the issue is, I'd completely forgotten about running into the same on the first report several years ago. The 2nd API I might have built the M query differently as it paginates differently, so I will start there. This time I will document it better and write it up on my blog since I expect I will continue the forget > relearn cycle a few more times!
Hi jkuntz
In my experience, APIs in Power Query can be super weird. I've had many cases of queries which work fine in Power Query or Dataflows, but once published fails during the refresh.
What I've found is that the most common culprit are POST requests and requests with dynamic urls in general (as in, if you use a function to handle pagination for example). Is that the case with any of your APIs that fail?
Can you perhaps upload the M-code here for dislay here?
_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
24 | |
23 | |
12 | |
11 | |
8 |
User | Count |
---|---|
43 | |
43 | |
24 | |
11 | |
10 |