Error 1:
Failed to query EDP-RT service discovery. Error text: Failed to request service discovery information. Text: {"error":{"id":"b761027b-51fe-42a0-8592-899bc5bd95da","code":"insufficient_scope","message":"access denied. Scopes required to access the resource: [trapi.streaming.pricing.read]. Missing scopes: [trapi.streaming.pricing.read]","status":"Forbidden"}}
Error2:
com.refinitiv.ema.access.OmmInvalidUsageExceptionImpl: RDMLogin stream was closed with status message
username AQIC5wM2LY4SfcxpAqf%2BCTCoFlEmYWrGzHGEfjX99831Nhc%3D%40AAJTSQACMjAAAlNLABM3NjY3MzM5MDkyNzQ3NTQ1NjU0AAJTMQACMzM%3D%23
usernameType 1
State: Closed/Suspect/Usage error - text: "Login Rejected. Watchlist size of 0 for 'RSSL' connection is outside of range [15001,100000] supported for this ADS fanout tier for this type of connection."
at com.refinitiv.ema.access.OmmBaseImpl.ommIUExcept(OmmBaseImpl.java:1578) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmBaseImpl.handleLoginReqTimeout(OmmBaseImpl.java:1396) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmConsumerImpl.handleAdminDomains(OmmConsumerImpl.java:448) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmBaseImpl.initialize(OmmBaseImpl.java:285) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.OmmConsumerImpl.<init>(OmmConsumerImpl.java:43) ~[SwapTimeout2.jar:?]
at com.refinitiv.ema.access.EmaFactory.createOmmConsumer(EmaFactory.java:237) ~[SwapTimeout2.jar:?]
at MarketPriceASKBID.SwapRates.createOmmConsumer(SwapRates.java:231) ~[SwapTimeout2.jar:?]
at MarketPriceASKBID.SwapRates.main(SwapRates.java:81) [SwapTimeout2.jar:?]
java.lang.IllegalStateException: The MarketPrice.Builder cannot build a MarketPrice without an OmmConsumer.
at com.refinitiv.platformservices.elektron.objects.common.Dispatcher$Builder.build(Dispatcher.java:182)
at MarketPriceASKBID.SwapRates.main(SwapRates.java:87)
The endpoint amer-2-t2 might not be permissioned for your ID. This is why you need service discovery - which will return the endpoint that you are allowed to connect to.
Please use the RTSDK-2.0.1.L1 - from here, and try your credentials with Consumer example ex450_MP_QueryServiceDiscovery.
What Unix are you using? Is it the one shown in the API compatibility matrix?
You will need to provide more information!! What is this app. Was it ever working. Is it a new ID. What version of EMA are you using.
If I were to guess, it seems like you are using an older version of RTSDK and/or your ID is not permissioned for service discovery/streaming data.
We are using EMA (ema-3.6.0.0.jar) in JAVA. On Unix
We are connecting to RSSL_Encrypted
Host: amer-3-t2.streaming-pricing-api.refinitiv.com Port 14002
@Gurpreet are you able to check if amer-2.t2 is permissioned or not?
It was working perfectly until yesterday....so we are not sure what happened today?
Hello @vuk.magdelinic
I suggest you contact your Refinitiv Representative/Account manager to help you verify your RRTO account permission.