物流助手,生成订单接口,德邦:报错:9300501
发布于 7 年前 作者 csong 3403 次浏览 来自 官方Issues

返回的错误提示:

  [“errcode”] => int(9300501)

  [“errmsg”] => string(19) “delivery logic fail”

  [“delivery_resultcode”] => int(-1)

  [“delivery_resultmsg”] => string(12) “下单失败”

  [“waybill_data”] => array(0) {

  }

}

----------------------------------------------------已经解决------------------------------------------

散单应用中,出现这个错误的可能原因:

1、转码问题,直接把中文转码了。

2、信息填写不完整。

3、detail_list 这一项是一个数组。哪怕是一个商品也需要是数组。我是直接赋值了,折腾了一下。

3 回复

你好,麻烦贴一下具体的请求

我之前转的就是中文,还以为不对,才用的转码过的

{

"add_source":0,
"order_id":"211707361628876919",
"openid":"o4IrP7YaPoqHwWJg",
"delivery_id":"DB",
"biz_id":"DB_CASH",
"custom_remark":"",
"sender":
{
"name":"时留杰",
"tel":"15903602188",
"mobile":"0371-56162888",
"company":"郑州朝虹科技有限公司",
"post_code":"475500",
"country":"中国",
"province":"河南省",
"city":"郑州市",
"area":"新郑市",
"address":"新港大道西侧新港十路南侧"
},
"receiver":
{
"name":"孙华楠",
"tel":"0371-27966090",
"mobile":"13592126609",
"company":"",
"post_code":"475500",
"country":"中国",
"province":"河南省",
"city":"开封市",
"area":"尉氏县",
"address":" 新华路 新新时代广场北200米路西"
},
"shop":
{
"wxa_path":"pages\/order\/details\/details?orderId=59",
"img_url":"https:\/\/www.chaohongserver.com\/uploads\/20190717\/c129bf7c7d4cdbb816c22ad0052d3e66.jpg",
"goods_name":"电视支架",
"goods_count":1
},
"cargo":
{
"count":1,
"weight":1,
"space_x":10,
"space_y":10,
"space_z":10,
"detail_list":
{
"name":"电视支架",
"count":1
}
},
"insured":
{
"use_insured":0,
"insured_value":0
},
"service":
{
"service_type":1,
"service_name":"大件快递3.60"
}
}

收到,正在和德邦确认报错原因哈

回到顶部