Home Knowledge Base Why do I get "The region number you have entered is invalid. Please enter valid region." in my AddItem response?
Find the answer to your question
When I make an AddItem call, I keep getting "The region number you have entered is invalid. Please enter valid region." As far as I know, I'm not passing a region number. What's going on here?
This issue is caused by including a <PostalCode> that doesn't match the selected <Country> in the AddItem request. For instance, if you specify a postal code of 95125 and a country of Hong Kong (HK), eBay will try to match that postal code with HK, which is not a valid scenario. Per the documentation:
"If you specify PostalCode, but do not specify Item.Location, then Item.Location is given a default value derived from the postal code."
To fix the problem, either drop the postal code, or change the <Country> to match the postal code.
How well did this answer your question? Answers others found helpful