eBay API addItem returns error - <Item.Country> is invalid or missing

StackOverflow https://stackoverflow.com/questions/22496906

  •  17-06-2023
  •  | 
  •  

Pergunta

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"

Foi útil?

Solução

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>

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top