r/GoogleAppsScript • u/gorus5 • Oct 05 '25
Resolved Import JSON function stopped working
I have a spreadsheet that uses a custom ImportJSON function to periodically update the data.
It was working fine for a very long time until today. I don't know any reason that could have caused this.
I didn't make any changes recently, the usage/traffic were the same as always.
The weird thing is that the function itself still works fine.
If I run it from the script console manually it finishes successfully and I can see the data fetched and processed.
But when this same function is called from the spreadsheet it just loads indefinitely without actually failing or providing any informative error message.
I tried disconnecting GAS Script from the spreadsheet and connecting it back again.
I don't see any actual error from GAS, like hitting some limits or getting error response (also, it wouldn't work in GAS Console manually if that was the case).
I don't see any failed runs in the execution history also.
It all looks like a strange bug.
Any ideas how to debug or fix it?
View all comments
Show parent comment
1
u/WicketTheQuerent Oct 05 '25
The execution time might vary for many reasons, one of them is the spreadsheet complexity but there aré others that aré out the control of the end users. One of them is that the source of the data might be getting too many requests from Google