karlwancl/YahooFinanceApi

Call failed with status code 500

kamoco opened this issue · 1 comments

Anyone else experiencing this issue ?

This call is failing with 500 cannot find server - Call failed with status code 500 (Cannot find server.): GET https://fc.yahoo.com
var response = await "https://fc.yahoo.com"
.AllowHttpStatus("502")
.AllowHttpStatus("404")
.WithHeader(userAgentKey, userAgentValue)
.GetAsync()
.ConfigureAwait(false);

Added 500 and it fixed the issue

var response = await "https://fc.yahoo.com"
.AllowHttpStatus("502")
.AllowHttpStatus("404")
.AllowHttpStatus("500")
.WithHeader(userAgentKey, userAgentValue)
.GetAsync()
.ConfigureAwait(false);