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

Item.country issue with code

Hi Can anyone help below with the content if this email I sent to Support? Kind of stuck sat twiddling my thumbs. Noob here btw so high and thank you for any help. 

 

 

Hello,

I am using the Sell Inventory API in Production to create inventory items, offers, and publish them. The first two steps work correctly, but the final publishOffer call fails with this error:

 

 
A user error has occurred. No <Item.Country> exists or <Item.Country> is specified as an empty tag in the request.

 

 

The full error info:

 

 
errorId: 25002 domain: API_INVENTORY subdomain: Selling message: No <Item.Country> exists or <Item.Country> is specified as an empty tag in the request.
 

To debug this, I checked the Inventory Location endpoints:

  • GET /sell/inventory/v1/location returns:
    { "locations": [] }

  • PUT /sell/inventory/v1/location/MAIN_LOCATION returns:

     
    { "errors": [ { "errorId": 2004, "domain": "ACCESS", "category": "REQUEST", "message": "Invalid request", "longMessage": "The request has errors. For help, see the documentation for this API." } ] }

Your developer portal previously stated that my account is not activated for Inventory Locations, which explains why the location create/update requests fail.

However, without an Inventory Location, the publishOffer endpoint has no source for Item.Country, which results in the repeated error shown above.

My question

Please confirm one of the following:

  1. Can you enable Inventory Locations on my Production seller account so the Sell Inventory API publish flow works correctly?

OR

  1. If my account type does not support Inventory Locations, what is the supported method for supplying Item.Country when using publishOffer for the UK (EBAY_GB) marketplace?

I am unable to proceed with item publishing until this is resolved.
All API calls are made with a valid OAuth User Token in Production.

Thank you.

Message 1 of 2
latest reply
1 REPLY 1

Item.country issue with code

Hi @f4yesaccount,

Thank you for your post!

We've reviewed your query, and to provide you with the best possible assistance, we need some additional information. Specifically, we require the API request you've made, the API response you received, and the rlogid found in the response headers. In relation to this, we kindly ask you to submit a support ticket through this link: eBay Support Tickets for assistance, which is a complimentary service. This will help us address your issue more effectively.


Additionally, please remember not to share these details here in the forum post, as they may contain confidential information that, if exposed, could lead to security concerns.


Best Regards,
eBay Developer Support

Message 2 of 2
latest reply