rfindley/wanikani-open-framework

Handling of HTTP 429 Errors

Closed this issue · 0 comments

HTTP 429 (Too Many Requests) errors are currently retried at an incrementally increasing rate, but can can cause many unnecessary failed retries, as the rate limiting is continuously extended with each retry. WaniKani provides some response headers for better handling of these errors:

  • Ratelimit-Limit
  • Ratelimit-Reset
  • Ratelimit-Remaining

image