错误信息为如下内容时,一般是输入的参数缺失
- OverseaShippingProvider.allowPost throw exception.e=null
- SellerOrientedAccessService.edit throw exception.e=java.lang.NullPointerException
- OverseaShippingProvider.allowEdit throw exception.e=null
- SellerOrientedAccessService.post throw exception.e=java.lang.NullPointerException
- aeproduct:some parameters are illegal.
- SYSTEM:API_EXCEPTION:13000000|:condition or itemId can’t be null.
- post:product sku attribute be required
A:请查看API文档及发布商品的说明判断是哪些参数缺失。
错误信息:SYSTEM:Unexcepted exception: API_EXCEPTION:21null|originalPost:fail to persistent bycom.aliexpress.item.manage.server.biz.persistent.AeProductSKUStockPersistent
A:可能的原因包括
- barcode设置成空字符串了,即""。如果不需要这个字段,请移除它而不要设置为空字符串。
A:单品可以用<none>表示sku id
调用aliexpress.category.redefining.getchildattributesresultbypostcateidandpath( 根据发布类目id、父属性路径(可选)获取子属性信息 )时返回false,但没有错误信息,如下所示
{ "result": { "attributes": { }, "success": false }, "request_id": "s***h" }
A:一般是因为类目已经不存在了,请到卖家后台检查是否还能找到该类目
发布商品返回如下的结果
{ "error_code": 7009999, "error_message": "SYSTEM:Unexcepted exception: API_EXCEPTION:07004020|post:Reason{innerData=null, reasonType=overseaShippingRestricted, code=21, description='overseaShippingSellerService.canPostProduct return false.', provider.ns=overseaShippingProvider}", "is_success": false }
A:这种情况一般是SKU里的Ships From属性设置成卖家本地国家,例如中国卖家设置成“CN”。本地发货的话不需要填写Ships From,去除即可。
发布商品报这个错误
{ "error_code": -9999, "error_message": "API_EXCEPTION:07[001053]|:001053:Size template binding failure", "is_success": false }
A:发布商品时,会做尺码模板的校验,对于必填尺码模板的类目,尺码模板的候选值必须是 sku-尺寸值的子集。
调用aliexpress.postproduct.redefining.postmultilanguageaeproduct接口报如下错误
{ "error_code" : 21206001, "error_message": "originalPost:Sync to scm fail:null,can't find biz type!" }
A:只有SCM(供应链管理)卖家才可以再发布产品的时候设置条码,否则会报这个错误
报错详情:
{ "aliexpress_postproduct_redefining_postaeproduct_response": { "result": { "error_code": -99999, "error_message": "THD_IC_F_IC_INFRA_PRODUCT_003:Insert product image failed,product ID:10,000,251,428,182,sku ID:20,000,000,154,901,793,image ID:null,serverIP:10.176.182.73", "is_success": false }, "request_id": "143eg2xqkljnk" } }
问题原因:商品sku 属性,例如尺码,不支持上传图片,但传的参数了却上传了sku_image.
解决方式:查类目属性,customized_pic = false ,说明不支持上传sku_image,发布或编辑商品时禁止上传改属性的sku_image.
{ "attribute_show_type_value": "list_box", "customized_name": false, "customized_pic": false, "features": "{}", "id": 227611301, "input_type": "STRING", "key_attribute": false, "names": "{\"en\":\"Age\",\"zh\":\"受众年龄\"}", "required": false, "sku": false, "spec": 0, "values": { "aeop_attr_value_dto": [ { "id": 7076323781, "names": "{\"en\":\"Ages 18-35 Years Old\",\"zh\":\"18-35\"}", "value_tags": "{}" }, { "id": 7076337619, "names": "{\"en\":\"Ages 35-45 Years Old\",\"zh\":\"35-45\"}", "value_tags": "{}" }, { "id": 7076369325, "names": "{\"en\":\"Ages 16-28 Years Old\",\"zh\":\"16-28\"}", "value_tags": "{}" } ] }, "visible": true }
{"code":"15","msg":"Remote service error","sub_code":"isv.13CHK_MULTI_CASCADE_VALUE_SUB_PROP_EMPTY","sub_msg":"For models:CHK_MULTI_CASCADE_VALUE_SUB_PROP_EMPTY:The child property Make[231450617] of France[361443] does not have a valid value","request_id":"f1zwcsbka7ov","IsError":false}
问题原因:商品车型属性有多余的(或者说传了不完整的车型),从上述报错信息【The child property Make[231450617] of France[361443] does not have a valid value】可以得到信息点,country=France(id为361443)下缺少对应的Make(id为231450617)具体属性。
解决方案:车型数据必须完整,提交参数时前清空多余的属性对。