Closed rubenvitt closed 1 year ago
Thanks for the PR, looks good! Two questions:
1) There's one notification filter per user. How many users are you synching to trigger the rate limit? 2) Have you tried shorter sleep values?
That's curious, there is only one notification filter per user. Perhaps the limit applies to a group of APIs.
I just noticed the error message you got: "You can do a maximum of 3 calls per 3 second to this endpoint." That sounds like 1 per second.
Your right, I was too fast with editing & change it back.
From their API docs:
Rate limits If you are receiving the error 429, please make sure you are sending requests at rates that are below our rate limits. Our rate limits per IP address per endpoint: GET requests: 3 within any 3 consecutive seconds POST requests: 5 within any 3 consecutive seconds PUT requests: 2 within any 3 consecutive seconds Callbacks: 2 callback URLs per notification category We have a lower rate limit for /session-server: 1 request within 30 consecutive seconds.
This MR resolves the following issue for auto_sync.py: