question

Upvotes
Accepted
25 0 0 3

Java Error contributing data to MARKETLINK

Contribution of MARKETLINK.ANY.******.NaE failed - (6) Invalid Message Syntax

treprfarfa-apijavacontributions
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.

Does anyone knows what might be the reason? Thanks

Upvotes
Accepted
25 0 0 3

Hi @zoya.farberov , thanks for the reply. I was able to make the example work now. What I found out is that although I am contributing to MARKETLINK, I should set openItemStream with serviceName "IDN_SELECTFEED" in the sendItemRequests().

Thanks for helping me out!

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.

Upvotes
23k 22 9 14

Hello @jake.lu,

You are submitting a message that is not recognized as a valid MarketLink post.

Perhaps you will find this answer "Contribution via RFA" useful.

Once you have tried following the suggested approach, please let us know, if you are able to post succefully, or continue to encounter this error.

Thanks,

-Zoya

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.

I am able to compile and run the example you linked and see myself connected via ADS but the post item request is timeout now....

<-- PostItemManager: Received for TEST01=RBCN OMM_ITEM_EVENT/MARKET_PRICE (com.reuters.rfa.internal.session.omm.OMMSubHandleImpl@68837a77) MsgType.STATUS_RESP
MESSAGE
	Msg Type: MsgType.STATUS_RESP
	Msg Model Type: MARKET_PRICE
	Indication Flags: 
	Hint Flags: HAS_ATTRIB_INFO | HAS_STATE
	State: OPEN, SUSPECT, TIMEOUT,  "Item Request Timeout"
	AttribInfo
		ServiceName: MARKETLINK
		Name: TEST01=RBCN
		NameType: 1 (RIC)
	Payload: None<br>

I am also getting this as Dump Status Response , do you know what might be the cause? Thanks

<-- PostItemManager: Received for TEST01=RBCN OMM_ITEM_EVENT/MARKET_PRICE (com.reuters.rfa.internal.session.omm.OMMSubHandleImpl@68837a77) MsgType.STATUS_RESP
MESSAGE
	Msg Type: MsgType.STATUS_RESP
	Msg Model Type: MARKET_PRICE
	Indication Flags: 
	Hint Flags: HAS_ATTRIB_INFO | HAS_STATE
	State: OPEN, SUSPECT, NONE,  "No connection or service is currently up that supports this request."
	AttribInfo
		ServiceName: MARKETLINK
		Name: TEST01=RBCN
		NameType: 1 (RIC)
	Payload: None

Dump Status Response
Upvotes
13k 32 12 18

@jake.lu Also note that MLIP contributions system is being replaced with Thomson Reuters Cotribution Channel. If you are still using MLIP, please contact your account manager for migration path.

Here is an article and tutorial on how to contribute using TRCC in Java.

https://developers.refinitiv.com/en/article-catalog/article/contributing-your-data-refinitiv


https://developers.refinitiv.com/en/api-catalog/refinitiv-real-time-opnsrc/rt-sdk-java#ema-consumer-posting-data-to-contribution-channel

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.

Upvotes
23k 22 9 14

Hi @jake.lu,

It seems to indicate that your infrastructure, ADS, is refusing the Post request.

As possible next steps I would:

1. Run a simple example consumer and make sure the same user is able to consume item TEST01=RBCN from service MARKETLINK

2. Verify the message being posted includes the payload (as recommended in the answer by Wasin, an update, not a refresh, with a field list) as I see payload of "none" in status.

3. Would contact your local market data group to try to get the insight into you infra log, is ADS reporting the attempt and what is in the log.

---

I agree with Gurpreet, intergating with Contribution Channel would be recommended.

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