#429 (Too Many Requests) on api/swiss/new/{teamId}

7 messages · Page 1 of 1 (latest)

silk tendon
#

Hi, I have a few questions. I am preparing an application to manage tournaments on lichess (create, delete, remind about tournaments, etc.). I get 429 when trying to create swiss. Do I also get 429 when exceeding the limit of created tournaments per day? Does such a limit exist? (Or should I get 400 in this case) How long should I wait before making another request? Is there a difference in the limits for a normal account/bot account?
Regards Adam

brazen radish
#

are u sure you are not making the requests simultaneously?

#

Anyway, 1 min cooldown for 429s with exponential backoffs should be good enough

willow flame
#

let's ask the code

#

at the cost of 20 credits per tournament, you can make 12 per day, or 48 if they're private

#

how many tournaments per day do you need?