question

Upvotes
Accepted
3 1 3 6

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

...

eta-api
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.

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@Dennis Au

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




1640832819034.png (30.9 KiB)
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.