question

kiedev_2384 avatar image
0 Likes"
kiedev_2384 asked

Cant create inventory item - 500 internal server error

Im testing out the inventory api by creating a new inventory item in the API explorer. I'm using the sample request that ebay provide you with:

https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/12345
{ 
    "availability": { 
        "shipToLocationAvailability": { 
            "quantity": 50
        }
    },
    "condition": "NEW",
    "product": { 
        "title": "GoPro Hero4 Helmet Cam",
        "description": "New GoPro Hero4 Helmet Cam. Unopened box.",
        "imageUrls": [
            "http://i.ebayimg.com/images/i/182196556219-0-1/s-l1000.jpg",
            "http://i.ebayimg.com/images/i/182196556219-0-1/s-l1001.jpg",
            "http://i.ebayimg.com/images/i/182196556219-0-1/s-l1002.jpg"
        ]
    }
}

Note: I have removed the products aspects field as it was giving me serialization errors and we dont intent to use it anyway.
The request gives me the following 500 internal server error response with no information indicating the problem:

{
  "errors": [
    {
      "errorId": 25001,
      "domain": "API_INVENTORY",
      "subdomain": "Selling",
      "category": "REQUEST",
      "message": "A system error has occurred. Internal System Error"
    }
  ]
}

Is anyone else having this issue?

inventory apisell apisellnew apiinventory itemsanbox-sell
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
riker_09 avatar image
0 Likes"
riker_09 answered

I have a similar issue when calling the /buy/browse/v1/item_summary/search endpoint. I'm getting a 500 internal server error from the sandbox but not from the production api. Everything find in PROD. So I guess something is going on at the ebay sandbox? Are ebay developers aware? Where can I report that? Do I have to have premium support for that?

,

I cannot even call the /buy/browse/v1/item_summary/search method without getting a 500 internal server error in return. The same request to the production api succeeds without error, so it *must* be something with the 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.

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.