Temporarily Fix yahoo_fin AssertionError: Invalid response from server. Check if ticker is valid.

Published: 18 May 2023
on channel: Brandon Jacobson
599
8

If you've been following along with me creating my own dividend app using the yahoo_fin library instead of yfinance, then you might have recently experienced this error, "AssertionError: Invalid response from server. Check if ticker is valid." Like me, you've probably tried changing tickers and everything. The temporary fix is simple.

Click on the error where the stock_info.py file is and change the variable site from /v7/ to /v6/.


Watch video Temporarily Fix yahoo_fin AssertionError: Invalid response from server. Check if ticker is valid. online, duration hours minute second in high quality that is uploaded to the channel Brandon Jacobson 18 May 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 599 times and liked it 8 visitors.