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/gorus5 Oct 05 '25
Hmm, doesn't running the function manually "refresh" it?
Or disconnecting and connecting the GAS project back again?
But it was already running periodically during the data refresh.
This spreadsheet worked for a long time without any issues.