Skip to main content
Published: June 24 2013, 12:00:00 PMUpdated: November 28 2020, 11:19:01 PM

When I tried to upload an image with SSL enabled (Request.ExternalPictureUrl) , I got the error below :

- <Errors>

<ShortMessage>Error in ExternalPictureURL</ShortMessage>

<LongMessage>eBay does not understand the ExternalPictureURL that you provided</LongMessage>

<ErrorCode>21916546</ErrorCode>

<SeverityCode>Error</SeverityCode>

- <ErrorParameters ParamID="0">

<Value>ExternalPictureURL</Value>

</ErrorParameters>

<ErrorClassification>RequestError</ErrorClassification>

</Errors>

Even the SYI doesn't allow the use of SSL enabled Image Urls , So Is this an expected behavior eBay-wide?

Currently eBay's UploadSiteHostedPictures does not allow HTTPS based image Urls to get uploaded in the request. There are active checks to block SSL sources. we're looking into the level of effort required to support it, but we don't have an ETA on when we will have it. Please make sure You are sending Non-HTTPS image urls for uploading in the UploadSiteHostedPictures call.

 

Wrong:

<?xml version="1.0" encoding="utf-8"?>
<UploadSiteHostedPicturesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>ABC...123</eBayAuthToken>
</RequesterCredentials>
<WarningLevel>High</WarningLevel>
<ExternalPictureURL>https//developer.ebay.com/DevZone/XML/docs/images/hp_book_image.jpg</ExternalPictureURL>
<PictureName>WorldLeaders</PictureName>
</UploadSiteHostedPicturesRequest>

 

Correct:

<?xml version="1.0" encoding="utf-8"?>
<UploadSiteHostedPicturesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>ABC...123</eBayAuthToken>
</RequesterCredentials>
<WarningLevel>High</WarningLevel>
<ExternalPictureURL>http://developer.ebay.com/DevZone/XML/docs/images/hp_book_image.jpg</ExternalPictureURL>
<PictureName>WorldLeaders</PictureName>
</UploadSiteHostedPicturesRequest>


 

How well did this answer your question?
Answers others found helpful