douju8782
douju8782
2014-12-30 23:52
浏览 161

eBay API添加跟踪号码 - 错误号码10007

Hi I am using this code to add tracking numbers in eBay SandBox its shows me Success but i am not able to see tracking numbers in my eBay

<?xml version="1.0" encoding="utf-8"?>
<CompleteSaleRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>my_ebay_eBayAuthToken</eBayAuthToken>
</RequesterCredentials>
    <ItemID>110154684599</ItemID>
  <TransactionID>27387395001</TransactionID>
  <ListingType>Half</ListingType>
  <Shipped>true</Shipped>
  <Shipment>
    <Notes>Item Shipped We are very Glad to have you</Notes>
    <ShipmentTrackingDetails>
      <ShipmentTrackingNumber>1030385557492892794611</ShipmentTrackingNumber>
      <ShippingCarrierUsed>USPSGround</ShippingCarrierUsed>
    </ShipmentTrackingDetails>
  </Shipment>
</CompleteSaleRequest>

and it shows me result :

<?xml version="1.0" encoding="UTF-8"?>
<CompleteSaleResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2014-12-31T18:32:02.679Z</Timestamp>
  <Ack>Failure</Ack>
  <Errors>
    <ShortMessage>Internal error to the application.</ShortMessage>
    <LongMessage>Internal error to the application.</LongMessage>
    <ErrorCode>10007</ErrorCode>
    <SeverityCode>Error</SeverityCode>
    <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
  <Version>893</Version>
  <Build>E893_CORE_API_17097905_R1</Build>
</CompleteSaleResponse>

that means data successfully added. but i am not able to see tracking number in order.

图片转代码服务由CSDN问答提供 功能建议

您好我正在使用此代码在eBay SandBox中添加跟踪号码它显示我成功但我无法看到 在我的易趣中跟踪号码

 &lt;?xml version =“1.0”encoding =“utf-8”?&gt; 
&lt  ; CompleteSaleRequest xmlns =“urn:ebay:apis:eBLBaseComponents”&gt; 
&lt; RequesterCredentials&gt; 
&lt; eBayAuthToken&gt; my_ebay_eBayAuthToken&lt; / eBayAuthToken&gt; 
&lt; / RequesterCredentials&gt; 
&lt; ItemID&gt; 110154684599&lt; / ItemID&gt; 
&lt;  ; TransactionID&gt; 27387395001&lt; / TransactionID&gt; 
&lt; ListingType&gt; Half&lt; / ListingType&gt; 
&lt; Shipped&gt; true&lt; / Shipped&gt; 
&lt; Shipment&gt; 
&lt; Notes&gt;物品已发货我们非常高兴有 你&lt; / Notes&gt; 
&lt; ShipmentTrackingDetails&gt; 
&lt; ShipmentTrackingNumber&gt; 1030385557492892794611&lt; / ShipmentTrackingNumber&gt; 
&lt; ShippingCarrierUsed&gt; USPSGround&lt; / ShippingCarrierUsed&gt; 
&lt; / ShipmentTrackingDet  ails&gt; 
&lt; / Shipment&gt; 
&lt; / CompleteSaleRequest&gt; 
   
 
 

它显示结果:

 &lt;?xml version =“1.0”encoding =“UTF-8”?&gt; 
&lt; CompleteSaleResponse xmlns =“urn:ebay:apis:eBLBaseComponents”&gt; 
  &lt; Timestamp&gt; 2014-12-31T18:32:02.679Z&lt; / Timestamp&gt; 
&lt; Ack&gt;失败&lt; / Ack&gt; 
&lt;错误&gt; 
&lt; ShortMessage&gt;应用程序的内部错误。&lt; /  ShortMessage&gt; 
&lt; LongMessage&gt;应用程序的内部错误。&lt; / LongMessage&gt; 
&lt; ErrorCode&gt; 10007&lt; / ErrorCode&gt; 
&lt; SeverityCode&gt;错误&lt; / SeverityCode&gt; 
&lt; ErrorClassification&gt; RequestError&lt; /  ErrorClassification&gt; 
&lt; / Errors&gt; 
&lt; Version&gt; 893&lt; / Version&gt; 
&lt; Build&gt; E893_CORE_API_17097905_R1&lt; / Build&gt; 
&lt; / CompleteSaleResponse&gt; 
   
 \  n 

表示已成功添加数据。 但我无法按顺序查看跟踪号码。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • douxiawei9318
    douxiawei9318 2015-02-17 23:48
    已采纳

    Yes this is eBay end error so contact eBay support

    点赞 评论
  • doumengyin0491
    doumengyin0491 2015-06-14 16:08

    This is an old post, but I noticed another problem is in your XML request itself that may have contributed to the original error code:

    <ListingType>Half</ListingType>
    

    This type tag tells the CompleteSale API you want to work exclusively with half.com, not ebay.com, transactions. The eBay API sandbox does not support any half.com API paths. So the above request would be unpredictable in the sandbox.

    If you did intend to work with a half.com transaction, well tracking numbers do not show up in My Ebay for those anyway. They would show up in My Account->Sales->View Shipment Information at half.com web GUI.

    Just sayin.

    点赞 评论

相关推荐