Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Can't Refresh without Gateway with Web API Source

I'm working on analyzing some Jira data for my company. Since we use Jira On Premise, the Jira Power BI app doesn't work, and instead I'm using the REST API. My query works within Power BI Desktop, and will correctly display in Power BI Service. However, I cannot refresh the data (neither manually nor through scheduled refresh). I'm getting the following error:

RefreshError.png

 

According to this post, Web sources don't seem to be enabled for refresh. However, the post is old and they mentioned they were working on it. Also, my error is about credentials, not just refresh. As you can see the credentials menu is grayed out, so I can't access it. In Power BI Desktop, my credentials are Basic with a Privacy Level of None.

 

I use a function and a query for my data. I know this can cause issues, but I believe I've followed this guide properly. Here are the function and the query:

GetDataFunction.png

Query.png

Appologies for the blocked out sections. They are mostly organizational commands and are hidden to keep field names from showing.

 

Please help me figure out what is causing this error and ultimately how I can enable scheduled refreshing for this dataset. Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the response! Actually, I am not using a Gateway at all. I wanted to just be able to use the web source from the web. However, I figured out that the actual problem stemmed from the fact that the web API was on-premise too and not on the open internet, which is why a Gateway is required.

View solution in original post

4 REPLIES 4
ExcelNorge
Regular Visitor

We have got an update from our Product Engineering team:

As we see that the User is using https and http urls to build the report. We checked with our SME they confirmed that, Power BI Service requires https urls for Web data sources to refresh. For non-secured urls (http), it's required to go through the gateway. By design.

 

So an anonymous API feed using "http" will not allow for a scheduled refresh in the online Power BI service without a gateway. It needs to be an https one.

GilbertQ
Super User
Super User

Hi there

From the error it appears that it is coming from not being able to authenticate back to your source data.

Are you using the On-Premise Data Gateway in Enterprise or Personal Mode?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

Thanks for the response! Actually, I am not using a Gateway at all. I wanted to just be able to use the web source from the web. However, I figured out that the actual problem stemmed from the fact that the web API was on-premise too and not on the open internet, which is why a Gateway is required.

Thanks for letting us know what was the cause and how you got it resolved. It is sure to help others.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors