Unable to login #50
anirbanphys
started this conversation in
General
Replies: 1 comment 6 replies
-
Copy access_token.txt and paste where config file is |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As mentioned, I have created the config.py with proper user ID and password information. While executing the code streaming_data.py, I am getting given issues in terminal and getting one type password from SAS alpha
Exception occurred :: [Errno 2] No such file or directory: 'access_token.txt'
Exception occurred :: [Errno 2] No such file or directory: 'access_token.txt'
Traceback (most recent call last):
File "/home/chiru/alphatrade/examples/streaming_data.py", line 11, in
sas = AlphaTrade(login_id=config.login_id, password=config.password,
File "/home/chiru/.local/lib/python3.10/site-packages/alphatrade/alphatrade.py", line 240, in init
self.__set_access_token()
File "/home/chiru/.local/lib/python3.10/site-packages/alphatrade/alphatrade.py", line 309, in __set_access_token
raise requests.HTTPError(response.text)
requests.exceptions.HTTPError: {"errors":{"detail":"Internal server error"}}
Any help?
Beta Was this translation helpful? Give feedback.
All reactions