-
api.refinitiv.com; nested exception
I/O error on POST request for https://api.refinitiv.com/auth/oauth2/v1/token: api.refinitiv.com; nested exception is java.net.UnknownHostException: api.refinitiv.com.
-
Java SDK ReactorChannel dispatch failed: -1(Server has rejected the Login request.)
After a period (typically about 20 mins) we experience an Auth timeout on the RDP; example message below: ReactorChannel dispatch failed: -1(Server has rejected the Login request.) 2023-12-15 16:39:10,947 ERROR com.refinitiv.ema.access.OmmConsu merImpl [] - loggerMsg ClientName: LoginCallbackClient Severity: Error Text:…
-
RDP session quota per machine ID
Hi, I am trying to develop an application that is intended to be used by a small number (<10) of humans to access the published-notifications API (NotifiAPI?) for processing change announcements and I'm left with a couple of authentication related questions. * Is there a suggested model for authentication with the RDP that…
-
State: Closed/Suspect/Timeout - text: "Authentication token has expired."
Our application is connecting successfully, but the connection drops after a little while. It does so systematically when restarted. The same code works fine for other instances using other machine IDs. I have verified that only this instance use the machineID and I was confirmed that it is dedicated. Is there a…
-
RDP TokenManagement with an account configured for RTO and wealth snapshot News services
A client signed a wealth license for RTO ( service ELEKTRON_DD watchlist 15K ) and a wealth license for snapshot news. Both services are configured on 1 Machine Account. The client uses the Java SDK to get the streaming prices. The client configured a LPC ( legacy protocol convertor ) to manage the service discovery and…
-
OAuth2 does not work with refresh_token in RDP
Hello, We are using RDP to fetch news (/data/news/v1). We use OAuth2 to authenticate (https://api.refinitiv.com/auth/oauth2/v1/token) using a username/password at first and then the refresh_token we get from the response. We realized that after the actual token expiration we cannot retrieve a new one using the…
-
EMA:Failed to perform transport secure channel connections to hosts. Error: Couldn't add the channel
loggerMsg ClientName: LoginCallbackClient Severity: Error Text: RDMLogin stream was closed with status message username <not set> usernameType <not set> State: Closed/Suspect/Usage error - text: "Failed to perform transport secure channel connections to hosts. Error: Couldn't add the channel to the token session as the…
-
State: Closed/Suspect/Timeout - text: "Authentication token has expired."
com.refinitiv.ema.access.OmmConsumerImpl.rdmLoginMsgCallback [msg-thread-2] ·⊱══> loggerMsg ClientName: LoginCallbackClient Severity: Error Text: RDMLogin stream was closed with status message username AQIC5wM2LY4Sfcw7PI%2BpJrKoLe9CMNUh64rTD0GjH6uqt68%3D%40AAJTSQACMzAAAlNLABQtNTE1NTk5NjQxMzM4MDQzOTM1NwACUzEAAjIx%23…
-
Are there any usage restrictions about liveness token?
I am using the liveness token api, /verification/v1/liveness/token, our app will use this token to call the liveness SDK. I want to know if different users and devices can use the same token?
-
Recived token not working
Hello, We are having a problem with the connection token. Some times, when we get the token from refinitiv we get rejected: Getting the token: { "Domain":"Login", "ID":1, "Key":{ "Elements":{ "ApplicationId":"739590397752477c9d02dde57af75cf77f98b680", "AuthenticationToken":"eyJ0eXAiO... Error: [ { "Domain":"Login", "ID":1,…
-
Getting auth token - how to fill request
I keep trying to load API token from that URL https://api.refinitiv.com/auth/oauth2/v2/token using Postman application. I've tried to follow the documentation from Swagger and this is how I filled the required fields: Unfortunately, the result is: { "error": "invalid_client",…
-
Websocket session with desktop session token
Hi Experts, I'm using the example for setting up a websocket connection. All works fine when I'm using the token that was requested in that example or from a separate platform session. However it's not connecting passing token from the established desktop session. The error message: "Text":"TREP authentication failed…
-
WebSocket API: Problems using cookie based authentication (C#)
Hi I am having issues using cookie-based authentication, when opening the web socket connection to wss://emea-1-t2.streaming-pricing-api.refinitiv.com:443/WebSocket. I am developing my application in C# against .Net 5.0 using the WebSocketSharp library. Assume I have a valid access token/refresh token pair acquired from…
-
EDP-GW authentication HTTP code: 400 Bad Request: Token request fails then username password continu
We have a connection using WebSockets. The normal connection method starts with a username password connection then every interval (x) a token authentication to see that we are still authorized. Over the past couple of weeks the service keeps getting interrupted where we have a failure to get the token authentication. Our…
-
Tick History - rate of access to the token endpoint
I have a client who is using RTH to make small, but numerous API calls using Historical Pricing and Elektron Time Series Report Templates. Their use case uses serverless cloud technology so I believe they are making individual RIC requests. They are querying the number of authentication tokens they can generate and…
-
Cannot get access token 400
Hi, I am trying to get an access token using a c# program with password grant. My code is based on what I have found in the API Playgroud, and looks like this: // Determine endpoint var client = new RestClient("https://api.refinitiv.com/auth/oauth2/v1/token"); client.Timeout = -1; // Get credential string user =…
-
RDP Authentication problem with multiple WebSocket sessions on a single user
Hi, I have a problem when getting AuthenticationInfo JSON from RDP GW with multiple Websocket sessions. We are running our identical Reuters Client applications on 5 different machines. So we connect to RDP on 5 different machines (each of them opens a websocket) by using same client_id, user and password. We login…
-
How long will RDP Refresh Token be expired?
As asked in the subject, can you advise when there is a need to re-send the request for a new Refresh Token before the previous one is expired? The post states that Access Token is expired in 5 mins but doesn't mention that of Refresh Token.
-
ERT stable connection with python
Hi, we need to create a stable connection to ERT in cloud to download real time data no-stop. We are using Python and the WebSocketAPI but we are experiencing some problems with token refreshing. In particular we are requesting tokens with user and password authentication, refreshing them every 200 seconds (since the seem…
-
TRKD Create Service Token API should be open without credentials
REF: https://support-portal.rkd.refinitiv.com/SupportSite/TestApi/Op?svc=TokenManagement_1&op=CreateServiceToken_1 REF: https://community.developers.refinitiv.com/questions/41617/get-access-token-via-browser-access-control-allow.html REF: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin…
-
Login rejected using refresh token
Hi, The stream is okay when I use password to get token and login. But after a few minute (less than token expire time), when I use refresh token to login, the message I receive is "Login rejected, already pending login" and I have to again use password to login. Can you tell me what will cause "login rejected" problem?
-
ESG API - Token management
Hi ESG team, One of our trial users is looking into the token management and has the following questions: 1) I notice that the access token is expired in 300 seconds. Is it possible to get a long-lived token? 2) Also, I tried to use the refresh token, but it gave me an error message “Failed to get access token 502 -…
-
Attempt to request Authentication Token fails with 401
This function is taken from the examples slightly modified: def getAuthenticationToken(self, userName, password): authReqUrl = self.baseUrl + "Authentication/RequestToken" credentialsData = {'Credentials': {'Username': userName, 'Password': password}} r = requests.post(url=authReqUrl, json=credentialsData,…
-
Forbidden 403 error
Hello, I'm using the machine id and password with client id but I'm having a forbidden 403 error after authentication. Could you please guide me? Sending EDP-GW service discovery request to https://api.refinitiv.com/streaming/pricing/v1/ EDP-GW service discovery HTTP code: 403 Forbidden Stop trying with the request Failed…
-
"Invalid client" error for sub-sequent requests via POST /token from RDP API
Client stucks with requesting a token for sub-sequent requests via POST /token from our API. Can you give me some hint what might be our client_id and whether this really is the issue I am facing? The highlighted (yellow) parts are related to where I believe the issue is located, but still maybe I'm wrong. Thanks Ronny
-
Package DatastreamDSWS2R error requesting acces Token
Hello, I am trying to download data from Datastream directly in R using require(devtools) install_github("CharlesCara/DatastreamDSWS2R") This works so far. next I saved my username and password (those credential I use for Refinitive) and entered mydsws <- dsws$new(username=DatastreamUsername,password=DatastreamPassword)…
-
Cannot create a token for my Python app
I am new and I am trying to access ESG data using the endpoint: "https://api.refinitiv.com/data/environmental-social-governance/v1/universe" I am stuck with the token generation. My understanding is that I have to create a token from the web site https://apidocs.edp.thomsonreuters.com/apps/apidocs > AppKey Generator and…
-
Can I request an access ID to Datastream Web Service (DSWS) ?
Hi there, It seems that an additional ID is required to access to DSWS when I try to get a token for the first time. Can I request it in this section? Thanks,
-
Refreshing token returns error 400 (iPlanet session has been expired.)
After getting authentication token, we refresh it every 4/5 of the expire time (approx. 4 min). From time to time (sometimes several times a day, sometimes once every few days), such refresh_token requests fail with 400 error and message "iPlanet session has been expired." What can cause such error? How to prevent it?
-
How to refresh token using ETA
Before authentication token expires, we get new one with refresh_token. But how to use it in existing connection? Do we send another RSSL_DMT_LOGIN request? Couldn't find clear description of this process in case of secure socket connection in ETA.
-
Token Request : Unexpected error
Hi, I am getting the titled error, which I have seen mentioned by other people but the general response seems to be check with your administrator. Having contacted Refinitiv I received the following response, "I have reached out to the relevant team to help us check on your Datastream DSWS credentials. It is also confirmed…
-
Getting token error for DSWS
Hi, Client on trial is currently getting an error that has been outlined previously in another post here: https://community.developers.refinitiv.com/questions/45338/cannot-connect-to-datastream-via-python.html. Login credentials for DSWS are entitled with the API PLI but the client is still getting this error. The Eikon…
-
Invalid user name or password
I'm getting "Invalid user name or password." when I try to obtain a token from the TokenManager API as described here: https://www.trkd.thomsonreuters.com/developerguide/TRKD%20API%20Developer%20Guide/wwhelp/wwhimpl/js/html/wwhelp.htm#href=4Authentication-Authorization.04.11.html I'm using the same credential as the ones I…
-
Get access token via browser - Access-Control-Allow-Origin
I can not get a token using a web browser (e.g. Chrome), neither a refresh token nor an access token. The token endpoint (https://api.refinitiv.com/auth/oauth2/beta1/token) does not include an Access-Control-Allow-Origin response header in the response. For security reasons modern web browsers prevent connections to…
-
Can you upload the sample node js code?
It needs to generate the token and pass it to extract the data.
-
How to add Authorizaiton param to SOAP header?
I use maven-jaxb2-plugin to import WSDL, and use spring webservice as SOAP client. <plugins> <plugin> <groupId>org.jvnet.jaxb2.maven2</groupId> <artifactId>maven-jaxb2-plugin</artifactId> <version>0.12.3</version> <executions> <execution> <id>quotelists</id> <goals> <goal>generate</goal> </goals> <configuration>…
-
Datastream token seems to be rejected
I’m able to log in to Datastream Web Service successfully, but I am not able to retrieve any data. My Token seems to be rejected. Why is my Token not accepted ?
-
Token retrieve error
I couldn’t retrieve a token because I got an error on User Name. Why doesn’t my ID work?
-
TRKD ValidateTokenRequest1 issue
Please, help me with token validation issue. I Create token with CreateImpersonationTokenRequest2 In a loop I validate token. If valid, I do some actions. To validate token I create ValidateTokenRequest1, set AppID and Token to the request Header, then set the AppID and Token (the same) to the request Body Validation is…
-
DSS REST API: Sometimes the create token API returns an invalid token
Hi, We are having an issue with one of our applications. Sometimes the DSS REST Api creates a token, without errors but when we try to use it (e.g. to retireve the fields available for a template) we get the following error (with a 401 response code): {"error":{"message":"Authentication request failed because of invalid…