Developers Program

getInventoryItem API returning error code 25710

Published: September 04 2023, 11:30:00 AMยทUpdated: October 03 2023, 2:41:07 PM

Products

Question

Why I am getting ErrorCode 25710 as below with the getInventoryItem call endpoint: https://api.ebay.com/sell/inventory/v1/inventory_item/{SKU}

{
 "errors":[
   {
     "errorId": 25710,
    "domain": "API_INVENTORY",
     "subdomain": "Selling",
    "category": "REQUEST",
   "message": "We didn't find the resource/entity you are requesting. Please verify the request"
   }
  ]
}

Answer

There might be several reasons for API failure. One of the reasons is that the item is listed either from eBay UI or by Trading API, so you are not getting any result in the getInventoryItem call. You will get the inventory records of a seller's account by bulkGetInventoryItem, getInventoryItems and getInventoryItem call, only if you have listed the item or created the inventory record from inventory API. Listings created outside Inventory API will not be visible via Inventory APIs.


How well did this answer your question?