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

exception 429 : Too Many Requests #294

Open
ShinyMcGlint opened this issue Nov 11, 2021 · 0 comments
Open

exception 429 : Too Many Requests #294

ShinyMcGlint opened this issue Nov 11, 2021 · 0 comments

Comments

@ShinyMcGlint
Copy link

  • Zwift Mobile API client version:
  • Python version:
  • Operating System:

Description

Using the client via https://github.com/snicker/zwift_hass, I'm getting very regular errors when calling world.player_status (every 2-3 minutes)

What I Did

Just running as usual - do you know if there has been a change at the Zwift end to limit the number of requests?

Traceback (most recent call last):
  File "/config/custom_components/zwift/sensor.py", line 361, in update
    player_state = world.player_status(player_id)
  File "/usr/local/lib/python3.9/site-packages/zwift/world.py", line 24, in player_status
    buffer = self.request.protobuf(
  File "/usr/local/lib/python3.9/site-packages/zwift/request.py", line 44, in protobuf
    raise RequestException("{} - {}".format(
zwift.error.RequestException: 429 - Too Many Requests
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