Add an exception for hitting the rate limit #8
Labels
Area: Web API v2
Related to the v2 web API
Duration: Short
Less than 2 hours of estimated work
Priority: Medium
Medium priority
Resolution: Fixed
The issue has been fixed
Type: Bug
Something isn't working
Currently, when the rate limit is hit, an
UnexpectedStatusException
with the message of{"text":"too many requests"}
is thrown. The response has a status code ofHttpStatusCode.TooManyRequests = 429
.Having something like a
TooManyRequestsException
would be nice to handle this without having to check the details of the exception.The text was updated successfully, but these errors were encountered: