Question

I'm totally new to ebay api. I tried to use addItem api call, I stopped with this error. `

eBay returned the following error(s):

37 : Input data is invalid.
Input data for tag <Item.Country> is invalid or missing. Please check API documentation.

I've given all of their inputs and used their example (addItem code) only.

Site ID is 3 (UK) and currencyID="GBP"

Was it helpful?

Solution

See the link http://developer.ebay.com/devzone/xml/docs/reference/ebay/types/CountryCodeType.html.

Country Code for UK is GB.

So, your xml will be <Country>GB</Country>

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top