Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call failed with status code 500 #65

Closed
kamoco opened this issue Feb 21, 2024 · 1 comment
Closed

Call failed with status code 500 #65

kamoco opened this issue Feb 21, 2024 · 1 comment

Comments

@kamoco
Copy link

kamoco commented Feb 21, 2024

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);

@kamoco
Copy link
Author

kamoco commented Feb 22, 2024

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);

@kamoco kamoco closed this as completed Feb 22, 2024
sergemat added a commit to sergemat/YahooFinanceApi that referenced this issue Feb 23, 2024
sergemat added a commit that referenced this issue Feb 23, 2024
#65 Fixed issue with HTTP status code 500 when creating Yahoo session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant