RFA Post Msg update data Error

I am using RFA post msg to update data.

The item I need to update is really existing.

image

When I use the example code "StarterConsumer_Post" .

I always get the error message [500] Unknown Item

image

I don't know how to fix it

Please Help!!

Tagged:

Best Answer

  • Jirapongse
    Answer ✓

    JPY3MFSPD=TFCB is a real Elektron RIC. I
    assume that you have added this RIC to ATS as a real-time record. After adding
    this RIC to ATS, I got the same error when testing this RIC with StarterConsumer_Post.

            FieldEntry [  4237] QUOTE_TYPE
    FieldEntry [ 4305] NEWSTM_MS
    FieldEntry [ 4737] P_C_IND1
    FieldEntry [ 5357] CONTEXT_ID 2713.0000
    FieldEntry [ 6401] DDS_DSO_ID 4118
    FieldEntry [ 6410] BR_LINK2
    FieldEntry [ 6480] SPS_SP_RIC ".[SPSDCA"
    FieldEntry [ 8635] RCS_AS_CL2
    ********************** INFO ************************ INFO **********************
    2018/05/04 15:39:35.022 INFO
    -> Submit Post Msg with Msg MarketPrice seq#: -1 post id: 2
    2018/05/04 15:39:35.122 TRACE <- Received MMT_MARKET_PRICE on-stream AckMsg from Provider:

    AttribInfo received:
    name : JPY3MFSPD=TFCB
    nameType : 1
    serviceName : API_ATS1_4
    AckId : 2
    SequenceNo : not received
    Received TextFlag
    Status text : [500]: Unknown Item
    Received NackCodeFlag
    Nack code : 2

    You need to change fields’ expression of this record in ATS to make it work. For
    example, the StarterConsumer_Post example posts two fields (RDNDISPLAY
    and TRDPRC_1). Therefore, you need to change the expression of these
    fields to STATIC_CONTRIB[].

    image

    After changing, the example can post data to ATS properly.