That is not a response from Google / Google Apps Script, so you are probably correct in that you have internet connection issues.
Yes, you can construct blocks to store the data on your app for later sending, you will need a network check method, and use the tinydb to save the data.
I don't know exactly what block generates the error.
I can't post the blocks because the program is too long, I'll attach the .aia file but I had to deleted the id of the sheet Diario_Apistico_NODati.aia (22.8 KB)
If I can give you any other information I will do my best to provide it