Authentication failed: access_denied

Hi, I have received my machine ID and have reset my password. However when I try to connect from my terminal its failing to establish connection.
If I try to connect using Chrome , its failing with Authentication failed : access denied message.
Please can you help ?
Best Answer
-
Hi @arif.sayed
Looking at the error, I don't believe this is a machine ID issue as the connection is not being established.
Have you tried specifying proxy in the example code when it uses the requests library i.e. the get and post calls?
0
Answers
-
Hi @arif.sayed
Please provide additional details to help diagnose the issue.
I assume you are trying to connect to ERT in Cloud using websocket - is this correct?
Have you worked through the Quick Start section for ERT in Cloud? Did that work ok?
If so,
- how are you attempting to connect from your terminal?
- you mention Chrome, so what exactly are you using in Chrome? Are you using the Try It Now documentation?
- Please provide the Authentication request / JSON messages you are sending to the server - you can comment out the password.
- If running an example please provide fuller output from the example
0 -
Hi Umer,
I am connecting from my local machine. For the username , I am using the machine ID allocated to me and the password I have reset.
To ensure , there is nothing blocking on my network, I was testing this through chrome and network looks fine unless I need to figure out somehow to use my proxy when running this example.
However I am still not sure if my account (machine ID ) is active to use to test the example below ?
C:\DataAnalytics\Rifinitive\EDP_AWS_examples\python>python market_price_edpgw_service_discovery.py --user <**********> --password <***********> Sending authentication request with password to https://api.edp.thomsonreuters.com:443/auth/oauth2/beta1/token ...
EDP-GW authentication exception failure: HTTPSConnectionPool(host='api.edp.thomsonreuters.com', port=443): Max retries exceeded with url: /auth/oauth2/beta1/token (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000002169B90F470>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))0 -
Hi Umer,
I have tried again now and still no sign of getting the token or data.It seems we are establishing the connection, but there is still something missing ?
sayeda7@L1001355607:~/refinitiv/EDP_AWS_examples/python$ python3 market_price_edpgw_authentication.py --user GE-A-0*******-*-**** --password ******* --hostname api.edp.thomsonreuters.com
Sending authentication request with password to https://api.edp.thomsonreuters.com:443/auth/oauth2/beta1/token ...
/home/sayeda7/.local/lib/python3.6/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
EDP-GW authentication result failure: 400 Bad Request
Text: {"error":"invalid_request" }0 -
Hi @arif.sayed
Apologies for the late reply but I have been out of the office for the past two days.
This forum is best suited to 'how to' type API usage queries and simpler diagnostics. Your issue requires offline in depth investigation - therefore please raise a Premium Support ticket (if the link does not work please speak to your Refinitiv Account manager or your Market Data team to confirm if you have RDC membership).
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 614 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 640 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛