HTTPError: 401 Client Error: Unauthorized for url: https://apisb.etrade.com/v1/accounts/list.json
spanchan opened this issue · 4 comments
spanchan commented
Sandbox env worked well and when switched production keys, get the error
HTTPError: 401 Client Error: Unauthorized for url: https://apisb.etrade.com/v1/accounts/list.json
Is there setting or call that will switch dev to false?
Thanks for the work on pyetrade!
1rocketdude commented
I'm getting same error, which is new with version 1.2 the previous version
didn't have this issue.
…On Sun, Jul 26, 2020, 12:54 PM spanchan ***@***.***> wrote:
Sandbox env worked well and when switched production keys, get the error
HTTPError: 401 Client Error: Unauthorized for url:
https://apisb.etrade.com/v1/accounts/list.json
Is there setting or call that will switch dev to false?
Thanks for the work on pyetrade!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#28>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABE3CHED5DREFBPCNKKH4NLR5SCYVANCNFSM4PIEG4AQ>
.
spanchan commented
I see. I can see param dev being passed in the accounts method in unit tests but not exposed?
jessecooper commented
In 1.2 the dev arg has been moved from the method level to the class init.
https://github.com/jessecooper/pyetrade/blob/master/pyetrade/accounts.py#L24
spanchan commented
Thanks Jesse.