question

mgeorge003 avatar image
0 Likes"
mgeorge003 asked ·

UploadSiteHostedPictures with ExternalPictureURL gives Error, Code: 21916550, File has corrupt image data Picture Services found a data corruption problem when processing retrieved picture file

I am calling UploadSiteHostedPictures with ExternalPictureURL of a valid Ebay image. I have tried different images with both http and https URIs. According the link:[API]( https://developer.ebay.com/DevZone/XML/docs/Reference/ebay/UploadSiteHostedPictures.html#Request.PictureName) this is should copy the image to Ebay EPS. I always get the error code 21916550 when running against production. Been banging my head to two days and can't figure out why this doesn't work. Any ideas would be greatly appreciated so I can finish my app. Thank you! ---------- request = { 'PictureDetails': { 'ExternalPictureURL': ' https://i.ebayimg.com/images/g/WiIAAOSwhNNdLoY9/s-l1600.png' } } api.execute('UploadSiteHostedPictures', request)
pythonebaysdkpicturedetailsexternalpictureurl
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.

thosam-3614 avatar image
0 Likes"
thosam-3614 answered ·

@eram_developersupport I carefully went through the document you gave a link to, and we are following the specification exactly. For example, we are using one of the supported image formats (JPG); we are using the RGB color space; and, our image is at least 500px on the longest side. Nonetheless, we are still experiencing the exact same problem as reported by @mgeorge003 --- Can you please provide any additional specific suggestion(s) or advice to solve this problem? Here's my error again for reference.

Failure to upload images: {"Timestamp"=>"2020-10-06T15:16:01.241Z", "Ack"=>"Failure", "CorrelationID"=>"4840918745e82e4896e722a0a05088ac", "Errors"=>{"ShortMessage"=>"File has corrupt image data", "LongMessage"=>"Picture Services found a data corruption problem when processing retrieved picture file", "ErrorCode"=>"21916550", "SeverityCode"=>"Error", "ErrorParameters"=>{"ParamID"=>"0"}, "ErrorClassification"=>"RequestError"}, "Version"=>"0", "Build"=>"mediasvcs-5.0.3_20200808012021482", "PictureSystemVersion"=>"2"} {:MessageID=>"4840918745e82e4896e722a0a05088ac", :ExternalPictureURL=>["https://mybargaincomics.s3.us-east-2.amazonaws.com/gemini-mailer.jpg";], :Site=>"US"}

· Share
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.

eram_developersupport avatar image
0 Likes"
eram_developersupport answered ·
Hi @mgeorge003, Go through the document : [ https://developer.ebay.com/devzone/xml/docs/reference/ebay/UploadSiteHostedPictures.html][1] Hope this document will help you to find if any thing misssing . As we explore and found that error code 21916550 represents :File has corrupt image data.So, go through it and check is there any corrupt image data? Please let me know if you want any thing else. Best Regards eBay Developer Support [1]: https://developer.ebay.com/devzone/xml/docs/reference/ebay/UploadSiteHostedPictures.html
· Share
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.

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.