-
Notifications
You must be signed in to change notification settings - Fork 326
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
schedule_and_record keeps throwing an error #339
Comments
Can you post the call that throws the error (e.g. what team/date combo?) |
It looks like it's not retrieving the table at all. Did you run this in a loop in the last hour or so? I can test later but I would bet that you hit the request limit. If you do it more than once, they'll often block you for an hour or so |
That's probably my issue. Thanks! |
You can add sleeps to prevent. The most recent version introduced a session manager to try to prevent this from happening. Have you updated to 2.2.5 yet? |
I'm not sure if I was before, but I am now |
Adding the sleeps fixed the issue. Thanks again |
Did it persist in 2.5.5 before the sleeps? Glad you got it sorted out. |
I was using to schedule_and_record() to retrieve individual game data for the 2022 season. It was working without any issues then all of a sudden start throwing:
"ValueError: Data cannot be retrieved for this team/year combo. Please verify that your team abbreviation is accurate and that the team existed during the season you are searching for."
I am not sure what the problem is since the arguments I am inputing have not changed. Any help to fix this would be appreciated.
The text was updated successfully, but these errors were encountered: