question

vetcoelectronics avatar image
0 Likes"
vetcoelectronics asked

Can't create listing in sandbox, 500 error in console

When I try to list an item on the sandbox site, I type in an item name, it loads, and then shows "Looks like something's wrong. Please try again" and then redirects to prod ebay.


Looking at the console, it looks like a GET request to

  1. Request URL: https://febear.sandbox.ebay.com/findproduct/find?q=test+item&sellerAccountType=C2C&sellingMode=AddItem


is getting a 500 error. Is there something I'm doing wrong? Is this just a bug in the sandbox?

ebay sandbox
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.

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @vetcoelectronics,

Please use the Trading API or Inventory API to list the item on sandbox.If you wan to use Trading API, you can use the following calls:

Ref: https://developer.ebay.com/devzone/xml/docs/Reference/eBay/StandardListingIndex.html

For listing an item by Inventory API you have to follow given steps :-

1. Use CreateOrReplaceInventoryItem call to create a record of an item for a SKU. Please go through the link given below to know more about call.

Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/inventory_item/methods/createOrReplaceInventoryItem

2. After that Create an offer for the same SKU by CreateOffer Call. This will give you Offer ID in response body. Please go through the link given below to know more about call.
Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/createOffer

3. After getting offerID, publish the offer by PublishOffer Call. Please go through the link given below to know more about call.
Ref: https://developer.ebay.com/api-docs/sell/inventory/resources/offer/methods/publishOffer

Please refer to the guide mentioned in below, to know more about working with the Inventory API.
Ref: https://developer.ebay.com/api-docs/sell/static/inventory/inventory-item-to-offer.html

Use the URL http://sandbox.ebay.com/itm/ENTER_ITEM_ID_HERE , to see the item view page on sandbox UI.

Best regards ,
eBay Developer Support

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

Can you please answer the following question.

https://forums.developer.ebay.com/questions/41646/ebay-feed-api-uploadfile-script-working-on-local-p.html


Your cooperation will be highly appreciated.

Thanks

0 Likes 0 ·

Why not fix this problem?

0 Likes 0 ·
jessicag-47 avatar image
0 Likes"
jessicag-47 answered

Did you have a fix on this issue? I have the same problem with it.


ElonOne

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.

carv_881 avatar image
0 Likes"
carv_881 answered

I use publishOffer api is failed

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.