Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Running into AUTHED_API_GET_LIMIT rate limit exceeded. Please wait 12 seconds then retry your request. at https://api.trakt.tv/search/show #187

Open
alexanderadam opened this issue Oct 17, 2021 · 0 comments

Comments

@alexanderadam
Copy link

As the title says, I'm running into the error AUTHED_API_GET_LIMIT rate limit exceeded. Please wait 12 seconds then retry your request. when querying https://api.trakt.tv/search/show (only visible from network tab at the moment since the traktflix view will simply show the misleading info Not found on Trakt). Its HTTP response is 429.

Maybe one or more of these things would be great:

  • I see that duplicated requests are made. So syncing many episodes of a series will lead to requesting https://api.trakt.tv/search/show?query=$name_of_the_series for every single episode. So I guess memorising / caching the response for the same name would not only help in avoiding the rate limit thing but also give a significant speed bump for series.
  • limiting sync speed so that it won't lead to this issue in the first place
  • sleep for the mentioned amount of seconds (and maybe notifying the user) if the sync ran into the rate limit with the response Please wait (/\d+/) seconds then retry your request.

PS: Thank you so much for this extension!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant