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

Streaming UnexpectedResponseCode 3, msg is 'Login Denied' #240

Open
hinson-x opened this issue Apr 27, 2022 · 1 comment
Open

Streaming UnexpectedResponseCode 3, msg is 'Login Denied' #240

hinson-x opened this issue Apr 27, 2022 · 1 comment

Comments

@hinson-x
Copy link

I used the streaming code example from https://tda-api.readthedocs.io/en/latest/streaming.html

But I received this error:
tda.streaming.UnexpectedResponseCode: unexpected response code: 3, msg is 'Login Denied.'

I've modified it to this:
client = easy_client(config.api_key, config.redirect_uri, config.token_path)

and also changed many variables but still cannot get the streaming to work.

However when I use it to retrieve get_quote on my other python file, it works.

Does streaming have something extra or did something break?

Thanks.

@rlimberger
Copy link

Did you solve this? Im also running into this

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

2 participants