Flurl.Http.FlurlHttpException: 'Call failed with status code 429 (Too Many Requests):
kamoco opened this issue · comments
I am getting too many requests when I hit this API Call
data = await url
.WithCookie(YahooSession.Cookie.Name, YahooSession.Cookie.Value)
.GetAsync(token)
.ReceiveJson()
.ConfigureAwait(false);
Anyone else seeing this?
Just add the user agent in the call and it fixes the issue
data = await url
.WithCookie(YahooSession.Cookie.Name, YahooSession.Cookie.Value)
.WithHeader(YahooSession.UserAgentKey, YahooSession.UserAgentValue)
.GetAsync(token)
.ReceiveJson()
.ConfigureAwait(false);
Thanks, this works. Saved me a lot of time 👍