question

Upvotes
Accepted
25 2 5 9

Unable to process batch greater than 4358 rics

Hi,

I'm getting following error when my batch input is > 4358 rics.

I'm using

//create OmmArray
OmmArray array;
array = EmaFactory.createOmmArray();
...
array.add(EmaFactory.createOmmArrayEntry().ascii(<RIC>)); // <RIC> - ric name

Using payload() function to send the array.

Exception Type='OmmInvalidUsageException', Text='Failed to rsslElementEntry.encode() while encoding rssl elementlist. Reason='INVALID_DATA'' at com.thomsonreuters.ema.access.CollectionDataImpl.ommIUExcept(Unknown Source) at com.thomsonreuters.ema.access.ElementListImpl.encodedData(Unknown Source) at com.thomsonreuters.ema.access.MsgImpl.msgPayload(Unknown Source) at com.thomsonreuters.ema.access.ReqMsgImpl.payload(Unknown Source)

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-api
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
23k 22 9 14

Hello @sagar.s.

I think you are hitting element array total size maximum, via batch.

Please refer to this question for the relevant discussion.

icon clock
10 |1500

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

Click below to post an Idea Post Idea