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

Sample query is timing out #2

Open
L-R-Ryan opened this issue May 14, 2020 · 2 comments
Open

Sample query is timing out #2

L-R-Ryan opened this issue May 14, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@L-R-Ryan
Copy link

I'm sorry if the solution is obvious (I'm new to node). I tried just to run your sample query exactly as you wrote it and I'm getting an error.

An error occurred when using the following queryurl:
https://doppler.finra.org/doppler-lookup/api/v1/search/firms?query=FirmName&city=Los Angeles&nrows=10&r=10&sort=score+desc&
Error: Error: connect ETIMEDOUT 92.242.140.21:443
Response: undefined

Am I doing something dumb, or does this wrapper not work anymore? I love the idea by the way, it would be super useful to me!

@whats-a-handle
Copy link
Owner

👋 All good @DaenerysT no need to apologize 😄

It looks like the original endpoint was deprecated, and a new one is being called instead. With a brief test or two, it looks like they may have changed the structure of the response data too, so the original code might need to be updated to accommodate that 🤔. I'll see if I can take a closer look over the next few days.

The new API endpoints:
https://api.brokercheck.finra.org/search/firm for firms. https://api.brokercheck.finra.org/search/individual for individuals.

@whats-a-handle whats-a-handle added the bug Something isn't working label May 23, 2020
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

3 participants
@L-R-Ryan @whats-a-handle and others