Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read .xlsx file from google drive #316

Open
sale4cast opened this issue Feb 1, 2025 · 0 comments
Open

Unable to read .xlsx file from google drive #316

sale4cast opened this issue Feb 1, 2025 · 0 comments

Comments

@sale4cast
Copy link

The following url is actually a .xlsx file which is publicly shared. I got an error while reading this by using read_sheet(). Is there any possibility to fix it?.

library(googlesheets4)
url <- "https://docs.google.com/spreadsheets/d/1wtmmuPW6_lAbPzdtE7I9sNGfjor3dNjP/edit?gid=1925346935#gid=1925346935"
gs4_auth()
gs4_deauth()
data <- read_sheet(url)
head(data)

Error in gs4_get_impl_():
! Client error: (400) FAILED_PRECONDITION
• Request can not be executed in the current system state, such as deleting a non-empty directory.
• This operation is not supported for this document
Run rlang::last_trace() to see where the error occurred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant