gcalendr icon indicating copy to clipboard operation
gcalendr copied to clipboard

Error in calendar_list() : Forbidden (HTTP 403)

Open nick-youngblut opened this issue 2 years ago • 0 comments

Given that this repo hasn't been updated since 2020, I'm guessing there won't be a response to this issue, but here goes:

My code:

library(gcalendr)
calendar_auth(
  email = "[email protected]"
)
calendar_list()

The error:

Error in calendar_list() : Forbidden (HTTP 403).
3. stop(http_condition(x, "error", task = task, call = call)) at response-status.r#250
2. httr::stop_for_status(r) at get_calendar_list.R#14
1. calendar_list()

sessionInfo()

R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.3

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/Los_Angeles
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

other attached packages:
[1] gcalendr_0.2.1.9004

loaded via a namespace (and not attached):
 [1] bit_4.0.5           jsonlite_1.8.7      dplyr_1.1.4         compiler_4.3.1     
 [5] renv_1.0.2          tidyselect_1.2.0    Rcpp_1.0.11         blob_1.2.4         
 [9] later_1.3.1         yaml_2.3.7          R6_2.5.1            generics_0.1.3     
[13] curl_5.1.0          tibble_3.2.1        openssl_2.1.1       lubridate_1.9.3    
[17] DBI_1.1.3           pillar_1.9.0        rlang_1.1.2         utf8_1.2.4         
[21] fs_1.6.3            config_0.3.2        bit64_4.0.5         timechange_0.2.0   
[25] cli_3.6.1           magrittr_2.0.3      RPostgres_1.4.6     googlesheets4_1.1.1
[29] hms_1.1.3           askpass_1.2.0       lifecycle_1.0.4     vctrs_0.6.4        
[33] pool_1.0.1          gargle_1.5.2        glue_1.6.2          cellranger_1.1.0   
[37] googledrive_2.1.1   fansi_1.0.5         purrr_1.0.2         httr_1.4.7         
[41] tools_4.3.1         pkgconfig_2.0.3    

nick-youngblut avatar Dec 09 '23 23:12 nick-youngblut