Closed Deleetdk closed 2 years ago
I don't think this is a googlesheets4 problem. I think it's coming from curl / the transport layer. Specifically, I don't think there's anything googlesheets4 can do to remediate it.
I think it's probably intermittent and that the deauth or restarting R is ?probably? not causally related to things working / not working.
This bug appears sometimes. I can't figure out what it is due to exactly, but some kind of authentication failure, or expired token. I post it here because there seems to be no prior issue about this error for this package, but one can find it in many other places e.g. with git.
Not a reprex, but the bug will appear with this kind of code
In my case, since this document is public, one can deauth and then it works again:
Restarting R fixes the issue, and one can use
gs4_auth()
followed byread_sheet()
as normal.