RDP authentication error

Hello! I am trying to set up an RDP session as indicated here:
https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.Python
rdp.open_platform_session( '8e9bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1b035d', rdp.GrantPassword( 'my_login', 'my_password' ) )
Using the app key generated for EDP API (from App Key Generator on the terminal) and typical login/password credentials I am using for Eikon, but get a Logging error.
Message: ElektronError(-1, 'TypeError("Expected object of type bytes or bytearray, got: <class \'str\'>")') Arguments: ('EDP Authentication failed',)
Could you help me please, what I am doing wrong?
Best Answer
-
Are you unable to get any headlines, regardless of the query?
I tried to recreate your scenario and whilst I can get headlines from a Platform session, I cannot get any from a Desktop session either.
I have already emailed the product owner to report this - as you are aware the Refinitiv Data Platform library is in Beta.
0
Answers
-
Hi @alex.yermolayev Your Eikon credentials cannot be used with RDP platform session. Please use a desktop session for that.
Eikon has to be running on the local machine. The generated APP KEY should have Eikon scope selected.
rdp.open_desktop_session(APP_KEY)
0 -
Hi @Gurpreet. Many thanks, I tried this. I am able to open a desktop session, but when I follow the instructions here: https://github.com/Refinitiv-API-Samples/Example.RDPLibrary.Python
Namely, trying to get the news for "LFR", I get nothing returned. Please see:
rdp.get_news_headlines(query = 'LFR', count = 350)
0 -
Hi @alex.yermolayev,
Access to the Refinitiv Data Platform News service via a DesktopSession is not yet possible with this version of the service. Currently this only works with a PlatformSession (that requires Refinitiv Data Platform credentials) or alternatively with the get_news_headlines() function of the Eikon Data API (more details in this tutorial).
Another possible option is to use the DesktopSession to subscribe to streaming news headlines (here is an example).FYI,
Refinitiv Data Platform Library functions return None in case of error. More details about the error can be retrieved using the rdp.get_last_status() function.0 -
Hi @umer.nalla Umer, yes, I cannot get any headlines, regardless of the query if I am using a desktop session.
And I cannot log into Platform session at all, I get a Logging error as described above. Do I need to use any specific credentials to open a Platform session? Many thanks.
0 -
Hi @Olivier Davant,
I see. What do you mean under Refinitiv Data Platform Credentials, how are they different from Eikon Premium package credentials and how can I apply to get those?
The problem is that even with the Desktop Session I get "None" returned for all news headlines searches.
Many thanks.
0 -
A Platform session will require a Refinitiv Data Platform account - you can request a trial from your Refinitiv Account manager if you wish. If you don't know who this is, let me know and I can try and reach out to them internally - so they can contact you directly.
Or you can use the Eikon Data API as suggested by Olivier Davant in his reply above.
0 -
By Refinitiv Data Platform credentials I mean a machine account (or user account) for a direct connection to the Refinitiv Data Platform via a PlatformSession. These accounts are part of our Enterprise offering and are not covered your Eikon Premium Package (This may be a conversation to have with your Refinitiv Account Manager).
The DesktopSession you are using connects to the Refinitiv Data Platform via Eikon using you Eikon credentials (login). Unfortunately the news service of the platform does not allow Eikon users to retrieve news headlines yet. This is why you're receiving a None value. This will eventually change but I don't know when.0 -
Many thanks, understood
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 33 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 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.8K Refinitiv Data Platform
- 625 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
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛