question

garyodums avatar image
0 Likes"
garyodums asked

Problems Uploading Externally Hosted & Local Pictures To EBay (Updated)

***(skip below Issue Summary for the most recent issue)*** Issue Summary --------------- Last week I added a question to the forum about uploading local images to eBay by converting them to a *Base64Binary* format, a string, which has since been deleted due to finding a better solution or so I thought. After hours of scouring the internet for information on how an embedded image should be formatted within an XML request (see related question below), I decided to stray away from the *UploadSiteHostedPictures* call. The approach I took next turned out to be very simple and clean in comparison to my former attempt. Opposed to uploading the photos to eBay's server and linking them to the listing, I provided a direct link of each photo from their respective *external* source. This worked out great until I tried creating a listing where only a single photo was added to the item due to eBay's Self-Hosting policy, which allows for only one photo to be linked from an address outside eBay's domain. I was inevitably forced to make a reluctant return to the *UploadSitedHostedPictures* API call except this time my image was in the form of a direct link instead of a Base64 data string--which brings me to the latest issue ***(below)***. ------------ (Most Recent) Problem ------------ I'm trying to upload an image to eBay's server using the *UploadSiteHostedPictures* API call but I keep getting the error below. The only difference between my request and the sample API call provided near the bottom of the *UploadSiteHostedPictures* docs, that I'm aware of, is the protocol being used (sample request: HTTP / my request: HTTPS). If anyone can provide information or assistance on what seems to be a ongoing series of problems, I would greatly appreciate it. In the meantime, I will continue searching for a viable solution for adding photos to an item listing and if one is found I will be sure to update the details of the question for others facing similar problems. ---------- **Update (5/8/2014):** Still no solution for uploading images from a secure source (HTTPS), however, I did stumbled across a PHP example of the UploadSiteHostedPictures call (see related links below) which provided enough information to move on to the next error. **New Error Information: http://stackoverflow.com/questions/23550750/xml-request-attachment-missing** ---------- **Related** -- https://forums.developer.ebay.com/questions/3470/uploadsitehostedpictures-include-a-binary-attachme.html -- https://ebaydts.com/eBayKBDetails?KBid=1092 P.S. Uploading an image using the Base64Binary string format is by far the most useful in regards to my application which makes it my #1 preferred method.
api-problemhttpseps upload problemsuploadsitehostedpicture
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended answered
Hello garyodums, I would suggest you to create a support ticket for better assistance from [here][1]. Regards. [1]: http://developer.ebay.com/support/developersupport/
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks. I decided to simply host my pictures until I find another (client-friendly) solution.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.