Open kjohannessen opened 6 years ago
Hey @kjohannessen, since some changes Yahoo made about two weeks ago, there has been some random instability on some of their servers. I added this issue to the issues we're tracking on #60, thanks for reporting. As you noted, this only happens occasionally... as best I can tell, one of their load balanced servers is erroneously failing on certain valid symbols.
Thanks @gadicc .. I'm still seeing this all the time .. and missing a lot of symbols .. e.g constantly NFLX when running a batch of about 500 symbols. Let me know if you see any improvement or workaround on this. thx Kim
Hi.. I run my yahoo-finance historical close price retrieval using nodejs .. it works the first time I run the process which iterates through lots of symbols. When I try to run it again a few minutes later I get this error.
root.Api.main context.dispatcher.stores.CrumbStore.crumb structure no longer exists, please open an issue. You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: Error: Failed to get crumb (root.Api.main context.plugins.ServicePlugin.xhrContext.crumbstructure no longer exists, please open an issue.) at /home/git/xxx/xxx/node_modules/yahoo-finance/lib/yahooCrumb.js:72:13
I think this might have something to do with the new API requiring a cookie?? somehow either this has expired or should be refreshed? not an expert on this, but it happens without fail, and as the error asks for me to open an issue I am .. as you can see the error is in the yahooCrumb.js code.