Google Sheets Disconnecting

So, I’ve been trying to use google sheets as a database for a while, but after a while it always disconnects from thunkable. I added a timer to the database to see how long it lasts. It usually lasts 0.3-10 seconds. How can I fix this?

(It didn’t used to combine all the variables, but there is no difference.)