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
biajuda123
Regular Visitor

Error - Update google sheets

Well, I have a spreadsheet on google sheets and configured in my report, The data is normally updated in the power bi desktop, but not in the power bi service (online).

I created a data stream to update the data, but it always returns an error where it says the page has timed out.

How to solve this problem?

This issue is directly impacting my organization!

1 ACCEPTED SOLUTION

I managed to solve the problem!

Google itself has a way to create an API that returns a JSON file to me.

So I created the API call and it worked perfectly.

A data stream that took 40 minutes to update is now taking about 54 seconds!

If anyone wants to understand the solution, search:

https://script.google.com/home

View solution in original post

4 REPLIES 4
GilbertQ
Super User
Super User

Hi @biajuda123 

 

Is the error when you are trying to update it in the Power BI Service or in Power BI desktop?

 

What happens if you change back your changes from the data stream, does it then work?





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

Proud to be a Super User!







Power BI Blog

Hello

The error occurs when data is updated in the power bi service (online).

I created the data stream so as not to mess up my dataset, but even the stream is not updated either.

The error that returns to me is always the same:

"We timed out waiting for the page"
This is the current code:

  Source = Web.BrowserContents("https://docs.google.com/spreadsheets/d/e/2PACX-C8LL9uw2Nlg/pubhtml", [WaitFor = [Timeout = #duration(0005)]]),

(link changed).

Hi, @biajuda123 

 

Have you tried to set the timeout longer?

vjaneygmsft_1-1635411698354.png

 

vjaneygmsft_0-1635411622055.png

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.

 

Best Regards,
Community Support Team _ Janey

I managed to solve the problem!

Google itself has a way to create an API that returns a JSON file to me.

So I created the API call and it worked perfectly.

A data stream that took 40 minutes to update is now taking about 54 seconds!

If anyone wants to understand the solution, search:

https://script.google.com/home

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