Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
This repository was 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

@alexanderadam

Description

@alexanderadam

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions