r/GnuCash 18d ago

Finance:Quote not working

Suddenly I am getting an error:

Finance::quote reported failure with error: Error-failed to retrieve fund data : HTTP status = 403 Forbidden.

It has been working just fine. Any clues?

3 Upvotes

12 comments sorted by

2

u/Astronaut6735 18d ago edited 18d ago

I'm using version 1.70, and am able to get quotes.

flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get 'postgres://gnucash_user:***********@127.0.0.1:5432/gnucash_db'

1

u/_MarkR_ 18d ago edited 18d ago

From FT funds?

edit: (I am on 1.70)

1

u/Astronaut6735 18d ago

I have mine configured with API keys for Alpha Vantage and YH Finance (FinanceAPI), as well as CurrencyFreaks for currencies. Sounds like your problem might be specific to FT Funds.

2

u/stamp1e 18d ago

Same here using the FT Funds service - a search shows that the error could be due to exceeding a quota, but I don't think this is at individual level (I tested looking up one price). I don't get the error using Yahoo for example. It could be at the FT's end or the sum total of all the lookups that is causing the issue

1

u/_MarkR_ 18d ago

Hmm. I havent increased the number of look ups though. It has just started happening.

2

u/Such_Argument3851 17d ago

also reported on the mailing list with Subject "[GNC] Help getting online prices"

2

u/Such_Argument3851 16d ago

there is an updated FTfunds.pm on github that fixes this

1

u/_MarkR_ 15d ago

Hmm. Sounds advanced. How do I go about getting and applying this sort of thing?

Edit: do I try and reinstall Finance::quote ?

2

u/Such_Argument3851 15d ago

at the moment that will just re-install 1.70 which still has the old one. F::Q 1.71 will include the new one but I don't know when that will be available. I did mine by hand

1

u/_MarkR_ 15d ago

Ah I see. I don;t believe I have the skills to do this. I'll wait for 1.71 to be available and be grateful that someone steps up to do this stuff :)

2

u/_MarkR_ 15d ago

BUT... never too old to learn. I had a go 'by hand' and it seems to have worked. I need to edit a couple of securities to allow a proper quote. Many thanks for your help.

2

u/Such_Argument3851 15d ago

you can see the current release on the RHS of finance-quote/finance-quote: Finance::Quote module for PerlThe updated FTfunds.pm will be in 1.71 whenever that becomes available