Skip to main content
Published: August 18 2011, 12:14:00 PMUpdated: August 20 2022, 2:08:20 AM

Question

Why do some listings/uploads with 3rd party hosted images work fine, while others consistently fail?

Answer

Summary

Best practice for validating URL images to be listed for an item or uploaded to eBay Picture Services (EPS).


Detailed Description

It is not enough to just take a URL and validate it by loading it into a browser, this will more often that not show a valid image.  But when trying to use that image through an eBay API call there are potentially copyright issues or permission issues involved.  A simple way to check if that URL will work for your listing is to use the API Test Tool.  Go to the API Test Tool, make sure are using the sandbox, and make a request using UploadSiteHostedPictures.  In order to get a successful response you need to ensure you:

1.  Use the API Test Tool correctly

2.  Make a proper UploadSiteHostedPictures call.

3.  Have a valid image (there are specific rules in the call reference guide for UploadSiteHostedPictures under the "Image Detials" section).

4.  Have a valid URL.

If the call fails, and you recieve "<ShortMessage>Input data is invalid.</ShortMessage>", this may indicate an issue with the URL.  There are several reasons why it may not be working, and is very difficult to pin point.  The only workaround is to include a binary attachment or supply a valid URL.



Additional Resources

 

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

Got thoughts? Click the feedback button – your insights help us improve!