Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by vuk.magdelinic · Apr 15, 2021 at 02:12 PM · elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api

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)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Gurpreet · Apr 15, 2021 at 02:37 PM

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?

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by Gurpreet · Apr 15, 2021 at 02:21 PM

@vuk.magdelinic,

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.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
vuk.magdelinic · Apr 15, 2021 at 02:28 PM 0
Share

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

avatar image
Answer by vuk.magdelinic · Apr 15, 2021 at 03:19 PM

@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?

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
wasin.w ♦♦ · Apr 23, 2021 at 03:37 AM 0
Share

Hello @vuk.magdelinic

I suggest you contact your Refinitiv Representative/Account manager to help you verify your RRTO account permission.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

(JAVA) Does using interestAfterRefresh(false) remove the need for deregistering items with Elektron?

EMA CPP - Exception adding ric into OmmArray

Login Domain - Components and Elements in Login responses

Can i have multiple batches or a batch contain multiple ItemList of arrays and multiple ViewData array

EMA C++ MRN Consumer Client - How to reduce fields from MRN_TRNA & MRN_STORY

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges