You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...Because when a exception occurs with a 429 ToManyRequests, the ErrorResponse exception does not contain info about the reset-datetime or how many seconds I need to wait.
Such info now needs to be cached with OK requests.
Please call the ProcessRateLimits and include it in the constructor of ErrorResponse at the following line:
Seems like there is also a difference between to many requests in a short period of time, and actually reaching the monthly limit.
In both cases, a reset-time-date would be the best option. That can either be a in a few days time (when the monthly limit is reached) or in a few seconds.
...Because when a exception occurs with a 429 ToManyRequests, the ErrorResponse exception does not contain info about the reset-datetime or how many seconds I need to wait.
Such info now needs to be cached with OK requests.
Please call the ProcessRateLimits and include it in the constructor of ErrorResponse at the following line:
PexelsDotNetSDK/PexelsClient.cs
Line 335 in 9271072
The text was updated successfully, but these errors were encountered: