数据复制服务 DRS-查询异常数据列表:响应示例

时间:2024-10-18 19:41:53

响应示例

状态码: 200

OK
{
  "count": 1,
  "dirty_data_list": [
    {
      "db_name": "gltest01",
      "schema_name": "gltest",
      "table_name": "decimal_01",
      "error_sql": "INSERT INTO \"gltest\".\"decimal_01\" (\"c1\",\"c2\",\"c3\") VALUES (2,NULL,'2.000000000000000000000000000'::numeric)",
      "error_time": "2020-09-01T18:50:20.200Z",
      "error_msg": "ERROR: null value in column \"c2\" violates not-null constraint"
    }
  ]
}

状态码: 400

Bad Request

{
  "error_code": "DRS.M05003",
  "error_msg": "Task information not found."
}
support.huaweicloud.com/api-drs/drs_03_0189.html