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

Failed with status code 403 on Android #57

Open
tpopetschnig opened this issue Jun 24, 2023 · 1 comment
Open

Failed with status code 403 on Android #57

tpopetschnig opened this issue Jun 24, 2023 · 1 comment

Comments

@tpopetschnig
Copy link

Hi.
I'm writing a C# .NET MAUI application and tested it with using the package but also with using the source directly. Same result:

Works perfectly when I use it on the "Windows Machine" but gets back "Call failed with status code 403 (Forbidden)
GET https://query1.finance.yahoo.com/v1/test/getcrumb."
on my Android device.

Using simply
var quotes = await Yahoo.Symbols(mySymbol).Fields(
Field.RegularMarketOpen,
Field.RegularMarketDayHigh,
Field.RegularMarketDayLow,
Field.RegularMarketPrice,
Field.RegularMarketVolume,
Field.RegularMarketTime,
Field.Currency,
Field.Exchange
)
.QueryAsync();

Thanks for any hint.

@uanjum
Copy link

uanjum commented Dec 16, 2023

Also facing same issue

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

2 participants