Using MRN EMA Samples but encounter error ErrorCode="FieldIdNotFound"OmmErrorEnd

gisele.wu
gisele.wu LSEG
edited January 15 in EMA

Using MRN EMA Samples but encounter error ErrorCode="FieldIdNotFound"OmmErrorEnd

EMA MRN download via

20250115172136.jpg

https://github.com/LSEG-API-Samples/Article.EMA.Java.MRN/tree/master

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @gisele.wu

    Thank you for reaching out to us.

    The error (FieldIdNotFound) means that the API can't find the field ID in the loaded data dictionary (RDMFieldDictionary).

    The output should have the field ID that causes this issue.

    Please share the output in text format so we can verify which field IDs that generate these errors.

    For example:

    FIELD_ENTRY: 4148/TIMACT_MS: 51406075 loadType: 18

    FIELD_ENTRY: 17/ACTIV_DATE: 29 MAY 2017 loadType: 22

    FIELD_ENTRY: 8593/PRE_16T026: STORY loadType: 31

    FIELD_ENTRY: 8506/PRE_4TX059: 2 loadType: 31

    FIELD_ENTRY: 11787/PRE_10T062: 10 loadType: 31

    FIELD_ENTRY: 32480/: OmmError

    ErrorCode="FieldIdNotFound"

    OmmErrorEnd

    loadType: 32
  • @Jirapongse many thanks for checking and advice.

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @gisele.wu

    The following fields (14568, 32479, 32480, 32641) are not found in the data dictionary used by the application.

                FieldEntry fid="14568" name="" dataType="Error"
                    OmmError
                          ErrorCode="FieldIdNotFound"
                    OmmErrorEnd
                FieldEntryEnd
                FieldEntry fid="32479" name="" dataType="Error"
                    OmmError
                          ErrorCode="FieldIdNotFound"
                    OmmErrorEnd
                FieldEntryEnd
                FieldEntry fid="32480" name="" dataType="Error"
                    OmmError
                          ErrorCode="FieldIdNotFound"
                    OmmErrorEnd
                FieldEntryEnd
                FieldEntry fid="32641" name="" dataType="Error"
                    OmmError
                          ErrorCode="FieldIdNotFound"
                    OmmErrorEnd
                FieldEntryEnd
    

    I found those fields in the data dictionary file (RDMFieldDictionary).

    The client needs to verify if the application loaded the data dictionary from local files or network (server). Then, check if those fields are in the data dictionary file (RDMFieldDictionary).