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

Uncaught Error Error: Failed to get the VQD for query "node.js". #131

Open
jmgaooo opened this issue Jun 27, 2023 · 9 comments
Open

Uncaught Error Error: Failed to get the VQD for query "node.js". #131

jmgaooo opened this issue Jun 27, 2023 · 9 comments

Comments

@jmgaooo
Copy link

jmgaooo commented Jun 27, 2023

The response.body of getVQD() method is empty, resulting in an exception thrown by exports.VQD_REGEX.exec(response.body)[1]: Uncaught TypeError TypeError: Cannot read properties of null (reading '1').
How can this issue be resolved?

@miloslavnosek
Copy link

Same issue. I can't seem to be able to search for anything at all.

@IvoRacious
Copy link

This issue still exist. I have to choose another search-api.

@MsVoxxie
Copy link

MsVoxxie commented Jun 4, 2024

Likewise, Same issue, Any insight would be appreciated :)

@Snazzah
Copy link
Owner

Snazzah commented Jun 4, 2024

I couldn't reproduce the issue, it still works fine. if it doesn't work for some people, probably try providing the response whenever you request https://duckduckgo.com/?q=node.js&ia=web.

@IvoRacious
Copy link

Suprisingly, I find that npm:[email protected] works well and steadily if you are using javascript.
Before that I've tried "@langchain/community/tools/duckduckgo_search", npm:duck-duck-scrapeandnpm:[email protected], which all failed.

@ductridev
Copy link

I couldn't reproduce the issue, it still works fine. if it doesn't work for some people, probably try providing the response whenever you request https://duckduckgo.com/?q=node.js&ia=web.

Same issue with me, should I provide you a screenshot of the request you sent?

@ductridev
Copy link

ductridev commented Jun 26, 2024

@Snazzah I just wonder if the news is responsed empty by DDG cause the error?
image
image

@Tomas2D
Copy link

Tomas2D commented Nov 6, 2024

Any update?

@pedsm
Copy link

pedsm commented Dec 23, 2024

@Snazzah I can reproduce this using the links.duckduckgo.com link but using duckduckgo.com I have no issues. Let me know if I can provide logs or test anything to help debug this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants