[GNC] Yahoo JSON - throwing unauthorized error
Bruce Schuck
bschuck at asgard-systems.com
Wed Apr 19 22:31:35 EDT 2023
On Wed, 19 Apr 2023 20:37:09 Murugan
Muruganandam<m.muruganandam at hotmail.com> wrote:
> Today when i ran get quote got the following error message
> Finance::Quote reported a failure for symbol acn: Error retrieving
> quote for acn. Attempt to fetch the
> URLhttps://query1.finance.yahoo.com/v7/finance/quote?symbols=acn
> resulted in HTTP response 401 (Unauthorized)
> When i queried the url i got the same error, if i change to v6
> instead of v7 , it is providing me the quotes correctly both in
> browser and in GNU (changed it in YahooJSON.pm)
That seems to have stopped working as well. I tried v6 and v8 earlier.
% curl --silent --include
https://query1.finance.yahoo.com/v6/finance/quote?symbols=acn
HTTP/2 404
content-type: application/json;charset=utf-8
y-rid: e0e9j0di418rs
x-yahoo-request-id: e0e9j0di418rs
x-request-id: 18b17b37-84d3-4742-89be-88a028087d51
content-length: 91
x-envoy-upstream-service-time: 1
date: Thu, 20 Apr 2023 02:29:16 GMT
server: ATS
x-envoy-decorator-operation:
finance-quote-api--mtls-production-gq1.finance-k8s.svc.yahoo.local:4080/*
cache-control: max-age=0, private
expires: -1
age: 0
strict-transport-security: max-age=31536000
referrer-policy: no-referrer-when-downgrade
x-frame-options: SAMEORIGIN
expect-ct: max-age=31536000,
report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only"
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
{"finance":{"result":null,"error":{"code":"Not
Found","description":"HTTP 404 Not Found"}}}
More information about the gnucash-user
mailing list