question

yofi5stars avatar image
0 Likes"
yofi5stars asked

offerUpdate api call in sandbox results in errorId 2003 com.sun.jersey.api.MessageException

When I send a PUT Request (offerUpdate) to https://api.sandbox.ebay.com /sell/inventory/v1/offer/5711124010" with body: "{"offerId":"5711124010","sku":"{header.sku}","marketplaceId":"EBAY_US","format":"FIXED_PRICE","availableQuantity":6,"pricingSummary":{"price":{"value":"2.0","currency":"USD"}},"listingPolicies":{"paymentPolicyId":"5755462000","returnPolicyId":"5755770000","fulfillmentPolicyId":"5745696000"},"categoryId":"293","merchantLocationKey":"rokatestlocation2","tax":{"applyTax":false},"status":"UNPUBLISHED","eBayPlusEligible":false,"listingDescription":"this is a listing"}" The endpoint returns this error to me: {"errors":[{"errorId":2003,"domain":"ACCESS","category":"APPLICATION","message":"Internal error","longMessage":"There was a problem with an eBay internal system or process. Contact eBay developer support for assistance","parameters":[{"name":"message","value":"com.sun.jersey.api.MessageException: A message body reader for Java class com.ebay.raptor.slrinvapi.app.entities.EbayOfferDetailsWithId, and Java type class com.ebay.raptor.slrinvapi.app.entities.EbayOfferDetailsWithId, and MIME media type application/octet-stream was not found."},{"name":"code","value":"415"}]}]} I am using Content-Type': 'application/json' in my requests, just as I am doing for the api calls leading up to the offer create before this failing offer update. Any help would be greatly appreciated.
apiapi-problem
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.

0 Answers

· Write an Answer

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.