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

Getting error for 2023 league ID = 232954200 #22

Open
TheMathNinja opened this issue Mar 26, 2023 · 2 comments
Open

Getting error for 2023 league ID = 232954200 #22

TheMathNinja opened this issue Mar 26, 2023 · 2 comments

Comments

@TheMathNinja
Copy link
Contributor

Error: ESPN API request failed [401]
[http://fantasy.espn.com/apis/v3/games/ffl/seasons/2023/segments/0/leagues/232954200?view=kona_player_info]

7. | stop(sprintf("ESPN API request failed [%s]\n[%s]", httr::status_code(resp), url), call. = FALSE)
6. ffespn_api(path, query, headers)
5. | ffespn_projections(season, 0, "QB", league_id = espn_league_id_2023)

@TheMathNinja
Copy link
Contributor Author

My code here is:
> ffespn_projections(2023, 0, "QB", league_id = 232954200)
Error: ESPN API request failed [401]
[http://fantasy.espn.com/apis/v3/games/ffl/seasons/2023/segments/0/leagues/232954200?view=kona_player_info]

@TheMathNinja
Copy link
Contributor Author

Nvm. Old issue. I didn't click "Make league viewable to the public."

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