yahooquery icon indicating copy to clipboard operation
yahooquery copied to clipboard

"Invalid Crumb" error

Open ed5555 opened this issue 1 year ago • 2 comments

Hi,

When trying to run the modules I get for most tickers that error.

Can it be solved?

Thank you

ed5555 avatar Aug 03 '24 11:08 ed5555

I have the same issue here.

MarcCiriani avatar Aug 05 '24 12:08 MarcCiriani

I am getting this error regularly during the last weeks with my program to search good stocks. I can't find a pattern. Running the program again and the error doesn't occur. I have the feeling that the error is traffic dependent. The error occurs most frequently in the hours after closure of the New York stock exchange. For the analysis of the stocks of one stock exchange, not all stocks are affected. Last run I had troubles for a large number of stocks in Brussels and Paris, but for example Amsterdam, Copenhagen, Oslo, Stockholm , Zürich, Frankfurt and London didn't give any problems. The pattern when and where the errors occur is continuously changing.

With another program I am watching about 850 stocks from all over the world. The evening run after closure of New York is crashing during the last week. Rerunning about an hour later doesn't give any problems. The early morning run, about 9 hours after closing of new York, doesn't give any problems either. Note, this is not about the "Invalid Crumb" error. Mostly it is a time out problem equests.exceptions.ConnectionError: HTTPSConnectionPool(host='query2.finance.yahoo.com', port=443): Read timed out.

The last weeks the reliability of Yahoofinance is decreasing.

RudyNL avatar Aug 12 '24 23:08 RudyNL

This evening, Nov. 13 2024, I am getting a lot of "Invalid Crumb" errors. Probably a problem at Yahoo. I will see if I am getting this error tomorrow morning.

RudyNL avatar Nov 13 '24 22:11 RudyNL

Closing as all outstanding crumb issues were resolved as at release 2.4.0.

maread99 avatar May 15 '25 16:05 maread99