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 without registration, duration hours minute second in high quality. This video was added by user Brandon Jacobson 18 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 599 once and liked it 8 people.