Skip to main content

Error Codes

If a request fails, the server will return a JSON response containing the following fields:

  • MsgId: The error code.
  • Msg: The error message describing the issue to help understand and resolve the error.

For example, when a required parameter is missing, the response will be:

{
"TraceId": "0HNLNN8L7AEB9:00000002",
"MsgId": "4001000",
"Msg": "Missing required parameter: file",
"Data": null
}

Error Code Table

HTTP Status CodeError CodeError MessageDescription
4002001000Benefit distribution failedBusiness error
4002001001Insufficient inventoryBusiness error
4004001000Missing parameterParameter error
4004004002Output text too longParameter error
4004004003Parameter out of rangeParameter error
4034031010Permission deniedAuthorization error
4034031020IP blacklistedAuthorization error
4034031021IP whitelist restrictionAuthorization error
4294291001Rate limit exceededGateway error
5005000000Internal server errorPlease contact us for assistance