cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when getting inventory item

I am using 

variant_sku = "JI3197/9/NWOB !"
encoded_variant_sku = quote(variant_sku, safe='')

Ebay_Get_Variant_URI = f"https://api.ebay.com/sell/inventory/v1/inventory_item/{encoded_variant_sku}

To get an inventory item. This inventory item exists, is listed and active. I can view it in my seller hub. It was created via API.

The response I am getting is

Ebay_Get_Variant response status: 404 {"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"}]}

The item is attached to a group. When I use 

 
sku = "JI3197"
encoded_group_sku = urllib.parse.quote(sku, safe='')
Ebay_Get_SKU_URI = f"https://api.ebay.com/sell/inventory/v1/inventory_item_group/{encoded_group_sku}"

The json response shows the variant is apart of this group and exists.

Can someone tell me what is going on?

I have been using the API for a year now and this issue just started happening. I am able to delete the inventory item and create a new one. However I am not able to find it after creating it again.



Message 1 of 1
latest reply
0 REPLIES 0