Skip to content

ratelimit.exception.RateLimitException: too many calls #61

@kingwongf

Description

@kingwongf

Hi, getting this error and not sure how to interpret it. The whole purpose of using ratelimit is to prevent too many calls?

  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ratelimit/decorators.py", line 77, in wrapper
    raise RateLimitException('too many calls', period_remaining)
ratelimit.exception.RateLimitException: too many calls

I have a simple for loop that calls a function with requests.get in it, which is decorated with @limits(calls=50, period=120) . Would really appreciate some help.

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