td-ameritrade-python-api icon indicating copy to clipboard operation
td-ameritrade-python-api copied to clipboard

Streaming UnexpectedResponseCode 3, msg is 'Login Denied'

Open hinson-x opened this issue 3 years ago • 1 comments

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.

hinson-x avatar Apr 27 '22 15:04 hinson-x

Did you solve this? Im also running into this

rlimberger avatar Mar 30 '23 19:03 rlimberger