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

Web.Contents failing refresh

Hello,

 

I am unable to refresh a dataset once published to the Power BI service, and my query does not contain any dynamic references. It is simply:

 

Source = Xml.Tables(Web.Contents("ftp://ftp.bom.gov.au/anon/gen/fwo/IDN11060.xml")),

 

I am not sure why this is failing - the credentials are anonymous and there is nothing dynamic in the URL?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi Maggie,

 

There is no need for an on premises gateway with Web.Contents as it is connecting to all sources in the cloud.

 

I have fixed the problem by changing the Web.Contents method to connect to a HTTP instead of an FTP source.

It appears the issue lies solely with connecting to FTP contents.

 

 

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Do you use a on premises gateway?

It seems when connecting with the web connector, it would need on premises gateway to refresh successfully.

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Maggie,

 

There is no need for an on premises gateway with Web.Contents as it is connecting to all sources in the cloud.

 

I have fixed the problem by changing the Web.Contents method to connect to a HTTP instead of an FTP source.

It appears the issue lies solely with connecting to FTP contents.

 

 

Hello
I currently have this problem, could you explain in detail how you solved it?

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