Hi, I'm yuta.
I want to use the quickstart API .
https://developers.refinitiv.com/refinitiv-data-platform/refinitiv-data-platform-apis/quick-start
Question.
If i execute rdpToken.py, outputs this messages.
yuta:/mnt/c/Users/yuta/Downloads/RDPPython_Samples_20200724/samples $ python rdpToken.py
Getting OAuth access token...
opts: []
args: []
Reading the token from: token.txt
Caught exception: [Errno 2] No such file or directory: 'token.txt'
Getting a new token using Password Grant...
Requesting from TOKEN_ENDPOINT: https://api.refinitiv.com/auth/oauth2/v1/token
Traceback (most recent call last):
File "rdpToken.py", line 114, in getToken
tf = open(TOKEN_FILE, "r+")
FileNotFoundError: [Errno 2] No such file or directory: 'token.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "rdpToken.py", line 160, in <module>
accessToken = getToken();
File "rdpToken.py", line 130, in getToken
tknObject = _requestNewToken(None);
File "rdpToken.py", line 56, in _requestNewToken
raise Exception("Failed to get access token {0} - {1}".format(response.status_code, response.text));
Exception: Failed to get access token 400 - {"error":"access_denied" }
settings
# User Variables
USERNAME = "gat.x131.calamity.orga@gmail.com"
PASSWORD = "this user's password"
CLIENT_ID = "xxxxxxxxxx12b2f981702b3710ca33cc4325"
UUID = "---YOUR PROVIDED USER ID---"
Client_ID specifies Generate ID.
is it right??
Please Help me.Thank you.