数字资产链 DAC-添加存证:响应示例

时间:2024-07-15 14:40:02

响应示例

状态码: 200

success

{
  "tx_id" : "e5e967bb14f97734c9957560267357ee916918bd5dd5130e30fe6e88ca2c76df",
  "ev_id" : "7484b9b5b4bc11ed87c64a2b0e716f7e"
}

状态码: 400

Error response

{
  "error_code" : "TDE.40000400",
  "error_msg" : "InvokeReq params invalid"
}

状态码: 401

Error response

{
  "error_code" : "TDE.40100401",
  "error_msg" : "unauthorized user"
}

状态码: 403

Error response

{
  "error_code" : "TDE.40300403",
  "error_msg" : "c59b99a1-32e8-11ef-8e12-0255ac100037 chainID does not exist"
}

状态码: 500

Error response

  • {
      "error_code" : "TDE.50010010",
      "error_msg" : "Internal error"
    }
  • {
      "error_code" : "TDE.50010019",
      "error_msg" : "c59b99a1-32e8-11ef-8e12-0255ac100037 chainID status is Unavailable"
    }
  • {
      "error_code" : "TDE.50004001",
      "error_msg" : "db query error"
    }
  • {
      "error_code" : "TDE.50010011",
      "error_msg" : "the file hash already exist"
    }
support.huaweicloud.com/api-dac/AddEvidence.html