I used the Stack Exchange API and received this error:
[1] "{\"error_id\":502,\"error_message\":\"too many requests from this app/user pair, more requests available in 20189 seconds\",\"error_name\":\"throttle_violation\"}"
I follow the instruction here (https://api.stackexchange.com/docs/throttle), where they "consider > 30 request/sec per IP address to be very abusive and thus cut the requests off very harshly". Therefore, I only send one request every 1 second, and still receive the 502 error, not always but sometimes. What should be the optimal request frequency?
quota_remaining
at the bottom/users/{ids}
, I have 10,000 daily. Without my key I only have 300, which is not enough...backoff
is set in the response, right? And then wait for at least that amount of seconds? backoffs can be send to request you to not post any calls for up to 10 seconds.backoff
, is that supposed to be in the response. I did not receive anything that saysbackoff
...