Whats the default rate imit for API calls?

Hi,

I keep getting this error when I make a few API calls:

Request was throttled. Expected available in N seconds."

Whats the default rate?

2 Likes

There are many different rate limits, and many places that the rate limit setting could be changed, so I’m not sure… but edx-platform/common.py at b367b276c9328a5878235c06dd2c037078f2cc54 · edx/edx-platform · GitHub should be a good starting point for you.

Try overriding these settings in lms/envs/private.py and see where that gets you.

2 Likes