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 yajnasteju · Jan 11, 2017 at 03:41 AM · elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apirics

EMA CPP - Exception adding ric into OmmArray

Im getting below exceptoin while adding ric codes into OmmArray for subscription.

Exception Type='OmmInvalidUsageException', Text='Failed to addArray() while encoding ElementList. Reason='RSSL_RET_INVALID_DATA'.

Could not figure out why this is being thrown.

Noticed that , when i add a lesser number of RIC codes , no issue , but when large number of ric's are added , this exception is thrown..

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by veerapath.rungruengrayubkul · Jan 11, 2017 at 04:55 AM

Hi @yajnasteju

This should be because the encoded size of your OmmArray is more than 65535 bytes.

The addArray() of ElementList will add the OmmArray as content of Element entry. Currently, the content of Element entry has a maximum encoded size of 65535 bytes. EMA will thrown an invalid usage exception once the OmmArray size is more than the maximum value.

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
yajnasteju · Jan 11, 2017 at 05:08 AM 0
Share

Thanks , that helps !

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?

Is it possible to get a list of all instruments available for subscription on Reuters Elektron?

How do you identify if a RIC is a chain RIC in order to subscribe to all the underlying RICs?

Is there any way to get the data for only selected fid values with Elektron APi EMA java snapshot class as currently we see it gives the entire list of data for a particular service name and RIC feed value

nasdaq basic instrument type field

  • 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