我们使用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> 我们还检查了图像urls是正确的和没有问题的图像。但是,每次我们收到错误响应时,如下所示:
<?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的开发者支持和联系?
等待解决,但我们更想知道如何才能联系到易趣?
发布于 2014-12-21 19:29:24
确保您要输入到eBay的图像URL不是https,eBay只接受http。
https://stackoverflow.com/questions/23824357
复制相似问题