question

hobkirkweb avatar image
0 Likes"
hobkirkweb asked ·

Upload Return File

Has anyone actually got this call to work. I have raised a premium support ticket but no luck yet. Here is my payload { "fileName" : "blank1.jpg", "data" : "/9j/4AAQSkZJRgABAQEBKwErAAD/2wBDAAYEBAQFBAYFBQYJBgUGCQsIBgYICwwKCgsKCgwQDA wMDAwMEAwODxAPDgwTExQUExMcGxsbHCAgICAgICAgICD/2wBDAQcHBw0MDRgQEBgaFREV GiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICD/wAARCAAKAAoDAR EAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAj/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8Q AFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQ A/AKpAAAB//9k=", "filePurpose" : "ITEM_RELATED" } here is the error {"error":[{"errorId":1616,"domain":"returnErrorDomain","severity":"ERROR","category":"REQUEST","message":"Invalid Input.","parameter":[{"value":"data","name":"parameter"}],"longMessage":"Invalid Input.","httpStatusCode":400}]} The documentation says that data should be array of string The example shows POST https://api.ebay.com/post-order/v2/return/5000124931/file/upload { "fileName" : "jasmine.jpeg", "data" : "SGVyZSBpcyB5b3VyIHJld...YWNraW5nIG51bWJlciBpcyAxMjM0NTY3ODk4NzY1", "filePurpose" : "ITEM_RELATED" } which is not an array !
post-order api
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
hobkirkweb avatar image
0 Likes"
hobkirkweb answered ·
ebay have now confirmed that there is a bug in the system and it has been reported to their engineering team.
· 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.