what are the possible conditions that TREP will return "TREP, ret=-1"

Our application is (AWS V3 services) trying to get batch market prices from TREP via API, we are receiving error message "TREP, ret=-1 " from TREP instead for marker price response. Could you please advise what is the meaning of "TREP, ret=-1 " We are using ETA Market Price Domain, v3.6.1.2.


Please find attached full MDS logs, below logger is highlighted from the attached log.

{"log":"2021-12-14T15:32:45,881[ERROR][pool-25-thread-1][EtaUtils.printRetLogWithRic.60] Fail to send Batch Market Price View Request with RIC=STML_t46.SI,ETEL.SI,AOIL.SI,KPEL.SI,OCML_t24.SI^K21,OCML_t23.SI^K21,BIML_te.SI,DLCSINSG_ta.SI,DLCCSPSG_td.SI,HSML_t312.SI,IPCC.SI,TAKA.SI,TOML_t1.SI,ISEC.SI,

OXHL.SI,DPDL.SI,CHIE.SI,...... to TREP, ret=-1

...

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @dennisauau

    Typically, -1 means Failure in ETA.

    Most ETA functions can return Failure.

    You need to verify which ETA function that the application called and returned -1. Then, check the developer guide for the reason.

    For example, if it is the Channel.Write method, the failure description is:

    1640832819034.png