MWS Scratchpad simple code with XML error
I try the scratchpad with that feed but returns me an xml error.
Can’t understand the reason of this error:
< Result>
< MessageID>9223372036854775807< /MessageID>
< ResultCode>Error< /ResultCode>
< ResultMessageCode>50001< /ResultMessageCode>
< ResultDescription>The XML you submitted is ill-formed at the Amazon Envelope XML level at (or near) line 3, column 14.< /ResultDescription>
< /Result>
9 replies
Seller_f5cnodyVjLD4S
The envelope appears to be empty. It looks like you are missing (XML) schema definition.
It should look something like this <AmazonEnvelope xmlns:xsi="http://www.w3.org/20**/XMLSchema-instance"SchemaLocation="amzn-envelope.xsd">
You can download the latest XSDs from Seller Central
https://sellercentral.amazon.co.uk/gp/help/G1611?
Validate your XML feed as per the error description (near line 3, column 14 ) and make modifications in your API based on the correct/updated XSD.
Hope this helps
Seller_mabJXCeCeHVWY
have a new error. here is the feed completed from your help.
The error msg:
<Result>
<MessageID>1</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>25</ResultMessageCode>
<ResultDescription>We are unable to process the XML feed because one or more items are invalid. Please re-submit the feed.</ResultDescription>
</Result>
It seems to me that I respected the XSD specifications
Seller_mabJXCeCeHVWY
Yes, that’s right. FeedType needs to be POST_ORDER_FULFILLMENT_DATA. But after changing it, it returns same error msg.
Seller_mabJXCeCeHVWY
I added a
< FulfillmentDate>2020-25-02T09:00:00Z</ FulfillmentDate>
Same Error 25
Since < FulfillmentData> is not mandatory, I removed it. ( .xsd file is here )
Error 25
I don’t know what to do …
Seller_mabJXCeCeHVWY
Finally I found the answer. If you want to simulate a tracking number updating feed using the Scratchpad, DON’T use an order that has been send! you must use an order that was NOT sent!