You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to set it up and the auth workflow fails for me. The credentials2.json file does not exist and is not created. I was able to get the access_token and the refresh_token manually. Alternatively, can somebody provide a format for the credentials_path file to set it up manually? Any help would be appreciated.
(base) C:\bin\cygwin\cygwin64\home\git\td-ameritrade-python-api>python C:\bin\cygwin\cygwin64\home\git\td-ameritrade-python-api\my_setup.py
Please go to URL provided authorize your account: https://auth.tdameritrade.com/auth?response_type=code&redirect_uri=http%3A%2F127.0.0.1&client_id=XXXXXXXXXXX%40AMER.OAUTHAP
Paste the full URL redirect here: https://127.0.0.1/?code=XXXXXXXXXXXXXXXXXX
{'credential_path': 'credentials2.json',
'message': 'The credential file does not contain expiration times for your '
'tokens, please go through the oAuth process.'}
{'credential_path': 'credentials2.json',
'message': 'The credential file does not contain expiration times for your '
'tokens, please go through the oAuth process.'}
The text was updated successfully, but these errors were encountered:
I have been getting this error message whenever I tried to run the setup.py. The issue stems from the setup() function Any suggestions? GetoptError: option -f not recognized
I tried to set it up and the auth workflow fails for me. The credentials2.json file does not exist and is not created. I was able to get the access_token and the refresh_token manually. Alternatively, can somebody provide a format for the credentials_path file to set it up manually? Any help would be appreciated.
(base) C:\bin\cygwin\cygwin64\home\git\td-ameritrade-python-api>python C:\bin\cygwin\cygwin64\home\git\td-ameritrade-python-api\my_setup.py
Please go to URL provided authorize your account: https://auth.tdameritrade.com/auth?response_type=code&redirect_uri=http%3A%2F127.0.0.1&client_id=XXXXXXXXXXX%40AMER.OAUTHAP
Paste the full URL redirect here: https://127.0.0.1/?code=XXXXXXXXXXXXXXXXXX
{'credential_path': 'credentials2.json',
'message': 'The credential file does not contain expiration times for your '
'tokens, please go through the oAuth process.'}
{'credential_path': 'credentials2.json',
'message': 'The credential file does not contain expiration times for your '
'tokens, please go through the oAuth process.'}
The text was updated successfully, but these errors were encountered: