sstrickx / yahoofinance-api

Java Client API for Yahoo Finance
MIT License
498 stars 219 forks source link

Null is returned as today #207

Open vw98075 opened 1 year ago

vw98075 commented 1 year ago

This library no longer works as today. I get null for a valid symbol. On Postman, I get

{
    "finance": {
        "result": null,
        "error": {
            "code": "Unauthorized",
            "description": "Invalid Cookie"
        }
    }
}

for the URL which is used to fetch quotes in this library.

The app registration on Yahoo https://developer.yahoo.com/apps/create/ doesn't have a related app category shown as their document https://developer.yahoo.com/oauth2/guide/openid_connect/getting_started.html.

What else is needed for authorization of using this library right now?

CesarCoelho commented 1 year ago

I am having the exact same problem. Any input on this would be appreciated!

emidesy commented 1 year ago

Is not working for days

alwa commented 1 year ago

Possibly a different root cause. But I suggest trying this: https://github.com/sstrickx/yahoofinance-api/issues/206#issuecomment-1516005736

vw98075 commented 1 year ago

@alwa Thanks for your info. Downgrading to v6 makes the URL work again. I assume that no one can guarantee the change will work for the foreseeable future.