MRN EMA API field ErrorCode="FieldIdNotFound"

gisele.wu
gisele.wu LSEG
edited February 11 in EMA

After switching from PROD RTDS to UAT RTDS, started to showing error ErrorCode="FieldIdNotFound".

Tried to switch from hosted dictionary file to local dictionary file by configuring in config file, but issue persists.

from the attached log file, it shows Text: Missing, unreadable or empty file configuration, path=[/home/computer/fmdt/app/rtsdk/EmaConfig.xml]

would that be any impact?

But the file actually exists under this directory.

Many thanks for your checking and advice.

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @gisele.wu

    Thank you for reaching out to us.

    The dictionary on the UAT RTDS and the local dictionary may be outdated.

    I subscribed to MRN_STORY and found the MRN_STORY uses the following fields.

        FieldList FieldListNum="32767" DictionaryId="1"
            FieldEntry fid="1" name="PROD_PERM" dataType="UInt" value="10001"
            FieldEntry fid="17" name="ACTIV_DATE" dataType="Date" value="25 JAN 2025"
            FieldEntry fid="259" name="RECORDTYPE" dataType="UInt" value="30"
            FieldEntry fid="1709" name="RDN_EXCHD2" dataType="Enum" value="1370"
            FieldEntry fid="4148" name="TIMACT_MS" dataType="UInt" value="55153534"
            FieldEntry fid="4271" name="GUID" dataType="Rmtes" value="(blank data)"
            FieldEntry fid="5357" name="CONTEXT_ID" dataType="Real" value="3752"
            FieldEntry fid="6401" name="DDS_DSO_ID" dataType="UInt" value="4232"
            FieldEntry fid="6480" name="SPS_SP_RIC" dataType="Ascii" value=".[SPSML2L1"
            FieldEntry fid="8506" name="MRN_V_MAJ" dataType="Rmtes" value="2"
            FieldEntry fid="8593" name="MRN_TYPE" dataType="Rmtes" value="STORY"
            FieldEntry fid="8882" name="MDU_V_MIN" dataType="UInt" value="(blank data)"
            FieldEntry fid="9343" name="MDU_DATE" dataType="Date" value="(blank data)"
            FieldEntry fid="11787" name="MRN_V_MIN" dataType="Rmtes" value="10"
            FieldEntry fid="12215" name="MRN_SRC" dataType="Rmtes" value="HK1_PRD_A"
            FieldEntry fid="14568" name="MDUTM_NS" dataType="Time" value="(blank data)"
            FieldEntry fid="32479" name="FRAG_NUM" dataType="UInt" value="1"
            FieldEntry fid="32480" name="TOT_SIZE" dataType="UInt" value="0"
            FieldEntry fid="32641" name="FRAGMENT" dataType="Buffer" value="(blank data)"
        FieldListEnd
    

    Please make sure that the dictionary contains these fields.

    You can download the latest version of dictionary from the Software Downloads. It is in the Product Family: MDS - General and Products: Refinitiv Real-Time Template Service Pack.

  • Hello @gisele.wu

    The "Text: Missing, unreadable or empty file configuration, path=[/home/computer/fmdt/app/rtsdk/EmaConfig.xml]" error message indicates that the API cannot find the EmaConfig.xml configuration file. In this case, the API will use a default configuration setting or the programmatic configurations in an application source code (if any).

    The API automatic loads the EmaConfig.xml file from the running directory by default.

    • Does the file is available on the application binary directory?
    • Does the file is on the folder that the application has permission to access?