Hi folks - anyone else having an issue where your Google Sheet unlinks from Tiller by itself? I have had a sheet that has been connected since as long as I can remember, and now three times in the last 10 days, it is no longer linked, and I have to relink it.
@arvind.govindarajan thank you for reporting this. It’s definitely unusual behavior and sounds like a bug.
I’ll sync with the team and see if we can figure out what’s going on there, but if you have any details that may help us reproduce, please let me know.
@arvind.govindarajan the team found that your sheet is getting unlinked because of some error handling that unlinks the sheet if it can’t find it. We found that some of the Google API requests are returning that error “can’t find sheet” likely because your sheet is too large+complex.
“In at least one case we spend about 6 minutes trying to read the sheet and then get that error back from Google’s API.”
![]()
So I think even with Direct Fills and this better API from Google, it still can’t handle extremely large/complex datasets well. I’m assuming that before this unlinking behavior started it was filling just fine?
Did you add new dashboards or additional data (perhaps Holdings History) recently that might be bogging it down?
Until we can correct the behavior where it will unlink it you may want to try and clean it up a bit so it doesn’t get hung up. If you’re testing Holdings you may want to test that in a separate sheet.
We’ll also have to build some sort of “retry” if we do hit a specific API error rather than just acting like the sheet doesn’t exist.
Hi Heather and team! Thanks for tracking this down.
It was working fine till last week, and, I did add Holdings and Holdings History. What’s interesting is that I have Holdings and Holdings History on three different sheets. Only this one unlinks. FWIW, the others, don’t have any calculations and are raw data dumps (for my AI to read). What’s also interesting is that if I relink it, it works for about 24hrs and even fills…
Best
Arv
I’m having the same problem. My sheet disconnects every day. My sheet is large, but only a fraction the limits of Google sheets. Also using Holdings tab.
@folkhero Holdings or Holdings History?
How many rows in your Transactions sheet?
Balance History sheet?
Holdings History (if applicable)?
Balance history is 54,000 rows
Transactions is about 14,000 rows
Holdings history is 580 rows
I don’t need holdings history, frankly. I’m going to delete it and see how it goes.
I can delete Holdings too if i need to.
In my case, my raw Transactions and Balance History have <100 rows filled each. This is because I move cleaned Transactions and Balances to a separate sheet, and only maintain 2-3 years of data. That one has ~17000 rows of transactions and 11000 rows of balances. Holdings has 731 rows and Holdings history has 130429 rows.
FWIW, another sheet (which does not unlink) where I have literally every transaction and balances and holdings and holdings history has: 43000 rows of transactions, 106000 rows of balance history, ~800 rows of Holdings, and ~134000 rows of Holdings History
@arvind.govindarajan can you clarify, for the one that is unlinking, is it the one that has a low volume of rows?
And you’re saying that the massive one isn’t unlinking?
That’s right - the one with more transactions, and balances is still linked. The one with fewer is the one that keeps unlinking
Might be the amount of complex calculations you have on the sheet. Same goes for @folkhero. Can result in Google Sheets API timeouts.
A database backend doing a SQL INSERT/UPDATE on Transaction ID is the ideal architectural fix for this scale, but within Sheets, an immediate workaround is decoupling: keep the Tiller sync sheet lean (just raw ingestion) and move heavy calculations and dashboards to a separate workbook (using IMPORTRANGE or some other query) so the API calls don’t hang.
I wish you guys the best!
David
I have a bunch of tabs on this sheet I don’t really use anymore. I’ll try pruning them. All I really need are the core data sheets.
I already use ImportRange extensively. It has its own issues with timeouts with large datasets (the wonderful #ERROR). Hence, this sheet that only has 2-3 years of data (rest is pruned) and fewer calculations. On the weekend, I can try and remove Holdings and Holdings History to see if that solves the problem. I have Python code that writes to sheets as well. It also sometimes times out, but then works again about 30min later.
@arvind.govindarajan @folkhero - we’ll hopefully today be pushing an update that should prevent these from getting unlinked, but the fact that it can’t “find” them points to something specific about the sheets that’s tripping the system up and modifying this behavior isn’t ideal for us longterm. The intent with that unlink when it can’t find was for sheets that had been deleted by the user, we don’t want to keep retrying the fill on those. But not ideal for your situation either.
@arvind.govindarajan given the amount of data that you shared is in each of the sheets I doubt that it’s a volume of data thing so I don’t think removing the holdings related sheets will help BUT I think it’s a worthwhile experiment in case there is something about Holdings we haven’t nailed yet that’s causing things to time out like this.
Let me know what you find with that.
You also mentioned that you have some python scripts that write to the sheet. I wonder if there is some sort of block that happens if that happens to be running right at the same time a fill gets triggered that prevents Google from accessing the sheet?
Sounds good. I have a 2AM cron job that only reads. The write jobs are ones that I instigate (after I update categories, etc. from my app). The read jobs on occasion fail (but rarely). The write jobs are more likely to fail. Two things I can test (in addition to removing Holdings, Holdings History)
a) Stopping the cron job overnight. The unlinking has happened when I have not been active, so can see if this helps
b) Seeing if there are importrange type functions in other sheets that might get triggered when Direct Fills is active and filling is activel
@freshman.david Great insight and suggestion David.
@arvind.govindarajan and @folkhero we pushed that change that should prevent the sheet from getting unlinked. So rather than trying to make changes (if you haven’t already) to prevent the unlinking it’s actually helpful to us if you keep everything as is so if the error occurs again we’ll be able to see more in the logs (added more logging too).
Sounds good. I will follow “my usual weekend budgeting routine” tomorrow and revert.
I initially took out my big sheets but put them back in after your last message. My sheet hasn’t unlinked since. I still may take those big sheets out just to clean up but I’ll leave them for now for testing purposes. Thanks Heather.
@heather my files are so far still linked after 4 days - looks promising!