Thank you Bruce. That fixed it and was a lot quicker than changing ~30 
securities to a new provider.

For anyone else on macOS, the location was:
/Library/Perl/5.30/Finance/Quote/YahooJSON.pm 

Best,
Colin

> On May 6, 2023, at 3:19 PM, gnucash-user-requ...@gnucash.org wrote:
> 
> ------------------------------
> 
> Message: 8
> Date: Sat, 6 May 2023 12:12:12 -0700
> From: Bruce Schuck <bsch...@asgard-systems.com 
> <mailto:bsch...@asgard-systems.com>>
> To: gnucash-user@gnucash.org <mailto:gnucash-user@gnucash.org>
> Cc: farle...@gmail.com <mailto:farle...@gmail.com>
> Subject: Re: [GNC] Yahoo JSON - throwing unauthorized error
> Message-ID: <37705e31-b6a2-6faf-3007-83a0e9ce5...@asgard-systems.com 
> <mailto:37705e31-b6a2-6faf-3007-83a0e9ce5...@asgard-systems.com>>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> 
> Ken,
> 
> I am currently evaluating which of the alternatives is the best 
> replacement. I'm also a little hopeful that in the meantime the 
> functionality of the current URL/API is restored before the time is 
> spent to not only make the changes, but the related housekeeping 
> necessary before pushing an official release to CPAN.
> 
> In the mean time, for those savvy enough to find and edit the 
> YahooJSON.pm file on their system, a quick fix is to change this line:
> 
> my $YIND_URL_HEAD = 
> 'https://query1.finance.yahoo.com/v7/finance/quote?symbols=';
> 
> to:
> 
> my $YIND_URL_HEAD = 
> 'https://query1.finance.yahoo.com/v6/finance/quote?symbols=';
> 
> Be wary that there may be multiple versions of the YahooJSON.pm file and 
> a system, so be certain to modify the correct one.
> 
> - Bruce S.

_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to