图像未通过ebay API上传到易趣上

时间:2014-05-23 08:25:23

标签: ebay-lms

我们正在使用ebay API并使用 UploadSiteHostedPicture API在Ebay服务器上上传图片。

正在发送的图像请求是:

<?xml version="1.0" encoding="UTF-8"?>  
  <BulkDataExchangeRequests>  
    <Header>
      <SiteID>0</SiteID>  
      <Version>863</Version>  
    </Header>  
    <UploadSiteHostedPicturesRequest xmlns="urn:ebay:apis:eBLBaseComponents">  
      <ErrorLanguage>en_US</ErrorLanguage>  
       <WarningLevel>High</WarningLevel>
    <Version>863</Version>
    <MessageID>Request0</MessageID>
    <ExternalPictureURL><![CDATA[MyImageUrl1]]>
    </ExternalPictureURL>
</UploadSiteHostedPicturesRequest>
<UploadSiteHostedPicturesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
    <ErrorLanguage>en_US</ErrorLanguage>
    <WarningLevel>High</WarningLevel>
    <Version>863</Version>
    <MessageID>Request1</MessageID>
    <ExternalPictureURL><![CDATA[MyImageUrl2]]>
    </ExternalPictureURL>
</UploadSiteHostedPicturesRequest>  
</BulkDataExchangeRequests>  

我们还检查过图片网址是否正确,图片没有问题。但每当我们得到错误回复时:

<?xml version="1.0" encoding="utf-8"?>  
<BulkDataExchangeResponses xmlns="urn:ebay:apis:eBLBaseComponents"  
  <UploadSiteHostedPicturesResponse xmlns="urn:ebay:apis:eBLBaseComponents  
   <Timestamp>2014-05-23T08:09:55.778Z</Timestamp>  
   <Ack>Failure</Ack>  
   <CorrelationID>Request0</CorrelationID>  
   <Errors>  
     <ShortMessage>There was a Picture Services server problem or there is a problem with your picture file.</ShortMessage>  
     <LongMessage>There was a Picture Services server problem or there is a problem with your picture file. Please try again later and if the problem persists, then try again using a different picture file.</LongMessage>  
     <ErrorCode>21917241</ErrorCode>  
     <SeverityCode>Error</SeverityCode  
     <ErrorClassification>RequestError</ErrorClassification>  
   </Errors>  
   <Version>857</Version>  
   <Build>E857_CORE_MSA_16683676_R1</Build>  
</UploadSiteHostedPicturesResponse>  
<UploadSiteHostedPicturesResponse xmlns="urn:ebay:apis:eBLBaseComponents  
   <Timestamp>2014-05-23T08:09:55.778Z</Timestamp>  
   <Ack>Failure</Ack>  
   <CorrelationID>Request0</CorrelationID>  
   <Errors>  
     <ShortMessage>There was a Picture Services server problem or there is a problem with your picture file.</ShortMessage>  
     <LongMessage>There was a Picture Services server problem or there is a problem with your picture file. Please try again later and if the problem persists, then try again using a different picture file.</LongMessage>  
     <ErrorCode>21917241</ErrorCode>  
     <SeverityCode>Error</SeverityCode  
     <ErrorClassification>RequestError</ErrorClassification>  
   </Errors>  
   <Version>857</Version>  
   <Build>E857_CORE_MSA_16683676_R1</Build>  
</UploadSiteHostedPicturesResponse>  
</BulkDataExchangeResponses>  

我们也为此搜索了解决方案但没有得到任何结果。你能告诉我为什么会收到这个错误的原因吗?或者这个问题的解决方案是什么。

我们还尝试联系ebay及其开发人员的支持,但没有找到我们可以联系ebay的链接或联系人,并找到解决问题的方法。
有谁知道我们如何联系ebay开发者支持和联系ebay?

等待解决方案,但我们想知道我们如何联系易趣?

1 个答案:

答案 0 :(得分:0)

确保您输入eBay的图片网址不是https,易趣只接受http网址。