Hello,
I me new on rdp, that was well installed, but still struglling to open a session to use it. I used the same user id and password as the ones for registration
using the bewllo lines in Jupiter and Spyder:
rdp.open_platform_session(
'8e9bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1b035d',
rdp.GrantPassword(
'khalid.kha',
'toto'
)
)
session.open()
I got the below error:
ERROR!!! Failed to request a new token...... Token requested error b'{"error":"invalid_client" ,"error_description":"Invalid Application Credential." } ' ERROR!!! response 401 while requesting URL('https://api.refinitiv.com/auth/oauth2/v1/token'). {"error":"invalid_client" ,"error_description":"Invalid Application Credential." } ERROR!!! authentication handler raise an exception. HTTPStatusError("Client error '401 Unauthorized' for url 'https://api.refinitiv.com/auth/oauth2/v1/token'\nFor more information check: https://httpstatuses.com/401")
# failed to request an authorized in the thread loop
--> 307 raise PlatformSessionError(-1, self._session._last_event_message)
308 if not self._session.server_mode:
309 # do nothing because the server-mode is disabled
PlatformSessionError: Error code -1 | ERROR!!! response 401 while requesting URL('https://api.refinitiv.com/auth/oauth2/v1/token'). {"error":"invalid_client" ,"error_description":"Invalid Application Credential." }
Any help please ??
Please note, that I see in the forum the related posts, and used all combinations without success.
Thanks and regards.