HTTP 400 Error with EtradeAccounts.list_acounts method #90
Answered
by
gabrieldhofer
gabrieldhofer
asked this question in
Q&A
-
Error Message:
Code
Is anyone else experiencing something similar? Please let me know if I can provide more information about anything. |
Beta Was this translation helpful? Give feedback.
Answered by
gabrieldhofer
Feb 19, 2024
Replies: 1 comment 2 replies
-
Did you have it working before or is this your first attempt? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, I found a solution.
I'm working in Windows WSL, and for some reason, there's a "clock skew" occurring (still not sure why).
But as a result, for the authorization step, I had to pass in my own "corrected" timestamp since my computer's timestamp was offset.
So I passed in a corrected timestamp as the last parameter my_timestamp:
Long story short, I just realized that another Oauth1 session is created in the constructor of the account class, so that constructor call needs the timestamp too, just as the autho…