Skip to content
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

Fetch error #1

Closed
oskargoyvaerts opened this issue Apr 17, 2024 · 2 comments
Closed

Fetch error #1

oskargoyvaerts opened this issue Apr 17, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@oskargoyvaerts
Copy link

Nice project but when running it I'm getting User
New crumb: yRG6Yj2wkbt
⨯ node_modules\yahoo-finance2\dist\esm\src\lib\yahooFinanceFetch.js (103:0) @ Object.yahooFinanceFetch [as _fetch]
⨯ Internal error: Error: Invalid Crumb. For Developers - https://bit.ly/yahoo-finance-api-feedback

any idea why that occurs?

@DariusLukasukas
Copy link
Owner

Hey! :) Thank you for reporting this issue and for the detailed error message. Unfortunately, you've encountered a known problem with the unofficial Yahoo Finance API I'm using in the project. Yahoo has recently made changes that have broken compatibility with the node-yahoo-finance2 package.

Here's a breakdown of the situation:

As of my plans, I understand this is frustrating, and I apologize for the inconvenience. I'm currently busy with other tasks but plan to investigate a fix sometime this week or next. In the meantime, please try the workarounds suggested in the GitHub issue thread.

Important Note: Please consider filling out Yahoo's feedback form: https://bit.ly/yahoo-finance-api-feedback This helps signal your interest in an official API that could bring long-term stability.

Thank you again for your patience and understanding!

@DariusLukasukas DariusLukasukas added the bug Something isn't working label Apr 17, 2024
@DariusLukasukas DariusLukasukas self-assigned this Apr 17, 2024
@DariusLukasukas
Copy link
Owner

Great news! The node-yahoo-finance2 package has released an update that fixes the "Invalid Crumb" error. Please update your project's dependencies to get the latest version of the package. This should resolve the issue you were experiencing.

Let me know if you have any further problems. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants