message output "Exception: Failed to get access token 400 - {"error":"access_denied" }"
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.
Best Answer
-
Are you able to log in to api.refinitiv.com ?
Then please test this API call.
If you cannot access it, please contact your Refinitiv account manager for your company.
0
Answers
-
Thank you for this answer.
If i logined this URL(api.refinitiv.com) , messages output "Authentication failed: error getting token",
Please help me. thank you!
0 -
I cannot locate your product.
Are you subscribing to any paid product such as Eikon or RDP?
If so, please contact your Refinitiv Account Mananger.
0 -
Thank you for your check.
I understand need to subscribe.
I am Refinitv Account Manager.
What URL should i buy from??0 -
Please leave your information at https://www.refinitiv.com/en/products/elektron-enterprise-data-management
Thanks.
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 370 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛