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?
Find more posts tagged with
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.
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.
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.
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.
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:
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.