For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
7 1 1 8

Contribution DeniedBySource: Marketfeed Format error

Hello!

We get the following Ack message during attempt to contribute data for test instrument:

AckMsg
    streamId="1"
    domain="MarketPrice Domain"
    ackId="1"
    nackCode="DeniedBySource"
    text="Marketfeed Format error"
    name="<instrument>"
    nameType="1"
    serviceId="291"
AckMsgEnd 

What is the reason for this response? Could it be some misconfiguration for contribution service?

Thanks!

elektronrefinitiv-realtimeelektron-sdkcontributions
icon clock
10 |1500

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

Hello @pavel.kropachev,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Hello @pavel.kropachev,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

Upvotes
Accepted
25.3k 87 12 25

Hi @pavel.kropachev

Thanks for the reply. Unfortunately, there is not enough information to diagnose what may be going wrong. It could well be a contribution server issue - but I cannot say based on what you have provided.

You can ask your client to enable the XmlTrace option in their config - for EMA C++ you can enable XmlTraceToFile and set the other related parameters to generate the tracefile.

For EMA Java they can enable XmlTraceToStdout and redirect to a file.

They can then raise a support ticket and share the trace file to help the support team understand what may be going wrong.This forum is best suited for programming how to advise and simpler diagnostics.

icon clock
10 |1500

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

Hello @pavel.kropachev,

Did you have a chance to follow-up via the support channel?

Upvotes
25.3k 87 12 25

Hi @pavel.kropachev

The text of the AckMsg indicates a Formatting error.

Can you confirm which API you are using and provide an example of what you are contributing?

One test would be to perform a very simple post - e.g. with a single String field in the payload. This would help determine it their is indeed a formatting error in your fuller payload or perhaps an issue with the contribution server configuration.

icon clock
10 |1500

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

Upvotes
7 1 1 8

Hello @Umer Nalla

Thanks for answer!

We are using EMA API (PostMsg). FIDs for contribution: "DSPLY_NAME (3)", "GEN_VAL2 (997)". Service: "DCSIP (291)".

icon clock
10 |1500

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

Upvotes
25.3k 87 12 25

Hi @pavel.kropachev

Did you try just contributing DSPLY_NAME with a string as I suggested? Do you still get a Nack - if so it would suggest that you are not encoding GEN_VAL2 correctly.

When I asked for an example of what you are contributing, I meant a code snippet - so we can see if you are encoding the fields correctly.

icon clock
10 |1500

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

Upvotes
7 1 1 8

Hello @Umer Nalla

Actually, our application (based on EMA API) is used in two places. On our side it works correct for the same FIDs and MARKETLINK service (id: 266). But problem is observed on customer's side during the contribution.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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