-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Cookie or Invalid Crumb for options #736
Comments
Thanks, @mhozic, for the report and helpful context, which led to an easy quick for for this 🙏 This will be in the next release and there'll be an automated message here when that happens. |
## [2.9.1](v2.9.0...v2.9.1) (2024-02-05) ### Bug Fixes * **options:** add { needsCrumb: true } (fixes [#736](#736)) ([79e33d9](79e33d9)) * **quoteSummary:** allow totalOtherIncomeExpenseNet null (fixes [#734](#734)) ([1d0d48e](1d0d48e)) * **quoteSummary:** moduleName s/search/quoteSummary/ fix ([bf58aa8](bf58aa8))
🎉 This issue has been resolved in version 2.9.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi its working on restart of my server, but then seems to stop working within 10-20mins. My server is based in US EAST. How can I force the cookie to renew on each request? Is there a way to force cookie refresh if I get an error like this? I am running a honojs server on railway with no serverless (its constantly running). Naturally storing the cookie in a volume, doesn't seem to make any sense if I'm needing to refresh the cookie. |
cc: @gadicc |
Sam, thanks for the report, the ping and your patience. I just got back
from a long overseas trip and am catching up on everything. I hope to get
to this on Sunday or Monday 🙏
…On Wed, 28 Feb 2024, 15:39 Sam Ducker, ***@***.***> wrote:
cc: @gadicc <https://github.com/gadicc>
—
Reply to this email directly, view it on GitHub
<#736 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAC5IGS4GOQ47VR77TKLUNDYV5FU3AVCNFSM6AAAAABCWT2HKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGI2TIOJQGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
No worries thank you for this library and your amazing work @gadicc I felt bad to tag :D, but I have a client on my back. In the meantime I introduced a caching solution on my end which has limited the impact of my problem. So no worries, enjoy the weekend. Happy to follow up with my sentry logs if helpful. p.s. I am happy to submit a PR, if you can point me in the right direction also <3! |
Bug Report
Describe the bug
When yahooFinance.options is called, "Invalid Cookie" or "Invalid Crumb" error is returned
Minimal Reproduction
const response = yahooFinance.options('AYX')
throws "Invalid Cookie" or "Invalid Crumb" error
Environment
Browser or Node: node
Node version (if applicable): 14.18.2
Npm version: 6.14.15
Library version: 2.9.0
Additional Context
/v6/finance/options/ endpoint doesn't produce this error
/v7/finance/options/ needs a crumb (needsCrumb: true)
The text was updated successfully, but these errors were encountered: