I am calling VerifyAddItem in the sandbox trading api. As a test, I am creating a very simple XML body. Here is the pretty print version: US USD Antique Table circa 1795 PayPal 20081 Days 30 1 0 100.00 No error is returned; however, the response is this: 2015-12-09T20:03:46.732Z Failure Schema XML request error. Schema XML request error: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.. 20170 Error SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. RequestError 931 E931_UNI_API5_17617533_R1 The XML is valid, so why am I getting this error? The only element with a child element is the PrimaryCategory, which contains a CategoryID element, which is the same as in the sample code for VerifyAddItem: CategoryType string
I have tried to add the raw xml here, but the editor seems to then treat is as XML and just show the values, so I am attaching the raw xml text file. Well, I guess not, the file upload says my file type is bad, so here is a pdf. I am still getting the 'SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize' error. [link text] : /storage/temp/
Didn't spot the issue at first but it's simply due to the *xmnls* attribute been named wrong. It should be **xmlns**. Also make sure your listing duration is correct. You've changed it to Day_30 in the PDF and it needs to be Days_30. (I'm assuming it's just a typo in the PDF).