Error Codes

Any endpoint can return an ERROR

Sample Payload below:

{
  "status": false,
  "code": "4001",
  "msg": [
    "API key олдсонгүй"
  ]
}

Error codes for Trade.mn

Errors consist of two parts: an error code and a message. Codes are universal, but messages can vary. Here is the error JSON payload:

{
  "status": false,
  "code": "4001",
  "msg": [
    "API key олдсонгүй"
  ]
}

-4001 Validation error

-4004 Body parse error

-0014 Unavailable error

Last updated