- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 05:55 PM
I'm trying to understand the UploadSiteHostedPictures call using postman before migrating the login into my software. However, I can't seem to make the call work. I'm following exactly the documentation from the eBay API guide. I keep getting the error :
Here is what I have configured in Postman. Can someone see the issue and explain how to correct it please?
Here is the value of the attachment_xml variable:
<?xml version="1.0" encoding="UTF-8"?>
<UploadSiteHostedPicturesRequest xmlns="urnapis:eBLBaseComponents">
<PictureName>myphoto</PictureName>
<PictureSet>Standard</PictureSet>
<ExtensionInDays>0</ExtensionInDays>
</UploadSiteHostedPicturesRequest>
Solved! Go to Best Answer
Accepted Solutions
Unable to submit UploadSiteHostedPictures with Postman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2023 05:30 AM
I found the issue. The order of the form data is important. XML Payload must be before the image in the form body. I just inverted the two entries and it worked.
Unable to submit UploadSiteHostedPictures with Postman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2023 05:30 AM
I found the issue. The order of the form data is important. XML Payload must be before the image in the form body. I just inverted the two entries and it worked.
