MWS Scratchpad simple code with XML error

Countries

Read only
Australia
Belgium
Brazil
Canada
Egypt
France
Germany
India
Italy
Japan
Mexico
Netherlands
Poland
Saudi Arabia
Singapore
Spain
Sweden
Turkey
United Arab Emirates
United Kingdom
United States
United Kingdom
imgSign in
user profile
Seller_mabJXCeCeHVWY

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>
65 views
9 replies
00
Reply
9 replies
user profile
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

00
user profile
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

00
user profile
Seller_mabJXCeCeHVWY

Yes, that’s right. FeedType needs to be POST_ORDER_FULFILLMENT_DATA. But after changing it, it returns same error msg.

00
user profile
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 …

00
user profile
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!

10
Follow this discussion to be notified of new activity