I ran into the same thing a couple days ago. This fix worked for me:

https://github.com/beancount/beanprice/issues/75


On Saturday, May 6, 2023 at 9:17:27 PM UTC-7 Vinit Khandagle wrote:

> I am seeing the below error while trying to fetch prices from yahoo, not 
> sure how to solve this issues
>
> bean-price -e "USD:yahoo/AAPL" --no-cache
> ```
> File 
> "/Users/vkbytes/miniforge3/lib/python3.9/site-packages/beanprice/sources/yahoo.py",
>  
> line 129, in get_latest_price
>     raise YahooError("%s (ticker: %s)" % (error, ticker)) from error
> beanprice.sources.yahoo.YahooError: Status 401: {'code': 'Unauthorized', 
> 'description': 'Invalid Cookie'} (ticker: AAPL)
> ```
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/ebc23097-b3e3-4f27-91b5-184c19953eb7n%40googlegroups.com.

Reply via email to