Getting error when connecting to Electron_DD
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)
Best Answer
-
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?
0
Answers
-
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.
0 -
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
0 -
@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?
0 -
Hello @vuk.magdelinic
I suggest you contact your Refinitiv Representative/Account manager to help you verify your RRTO account permission.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛