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

Forbidden 403 error #12

Open
stevenrossi opened this issue Aug 12, 2023 · 1 comment
Open

Forbidden 403 error #12

stevenrossi opened this issue Aug 12, 2023 · 1 comment

Comments

@stevenrossi
Copy link

Hi, nice little tool you've built here.

I get the following error when GET() is called:

Error in read_html.response(.) : Forbidden (HTTP 403).

I've tried passing my transfermarkt credentials to GET using authenticate() but I still get the 403. I get this error no matter what league I try to pull from.

> sessionInfo()
R version 4.2.1 (2022-06-23)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 11.6.8

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

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

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

other attached packages:
[1] httr_1.4.4       glue_1.6.2       stringr_1.5.0    readr_2.1.4      janitor_2.2.0    purrr_1.0.2.9000
[7] dplyr_1.1.2      rvest_1.0.3     

loaded via a namespace (and not attached):
 [1] xml2_1.3.3       magrittr_2.0.3   hms_1.1.2        bit_4.0.5        tidyselect_1.2.0
 [6] timechange_0.2.0 R6_2.5.1         rlang_1.1.1      fansi_1.0.4      tools_4.2.1     
[11] parallel_4.2.1   vroom_1.6.1      utf8_1.2.3       cli_3.6.1        withr_2.5.0     
[16] ellipsis_0.3.2   bit64_4.0.5      tibble_3.2.1     lifecycle_1.0.3  crayon_1.5.2    
[21] tzdb_0.3.0       vctrs_0.6.3      curl_5.0.0       snakecase_0.11.0 stringi_1.7.12  
[26] compiler_4.2.1   pillar_1.9.0     generics_0.1.3   lubridate_1.9.2  pkgconfig_2.0.3 
@derhimmlische
Copy link

I have the same issue.

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

2 participants