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, [email protected] wrote: > > ------------------------------ > > Message: 8 > Date: Sat, 6 May 2023 12:12:12 -0700 > From: Bruce Schuck <[email protected] > <mailto:[email protected]>> > To: [email protected] <mailto:[email protected]> > Cc: [email protected] <mailto:[email protected]> > Subject: Re: [GNC] Yahoo JSON - throwing unauthorized error > Message-ID: <[email protected] > <mailto:[email protected]>> > 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 [email protected] 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.
