OrderFulfillment Feed General Error


#1

I am getting an issue with submitting Amazon OrderFulfillment feed. The submission result always says: We are unable to process the XML feed because one or more items are invalid. Please re-submit the feed. But there are no further details what exactly is wrong. Here is the XML.

<?xml version="1.0" encoding="UTF-8"?>
                <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
                   <Header>
                      <DocumentVersion>1.01</DocumentVersion>
                      <MerchantIdentifier>A1EFVWT5LYJV87</MerchantIdentifier>
                   </Header>
                   <MessageType>OrderFulfillment</MessageType>
                   <Message>
                      <MessageID>1</MessageID>
                      <OrderFulfillment>
                         <AmazonOrderId>114-5107684-3294648</AmazonOrderId>
                        
                         <FulfillmentDate>2020-05-04T10:30:00+02:00</FulfillmentDate>
                         <FulfillmentData>
                            <CarrierCode>FedEx</CarrierCode>
                            <ShippingMethod>Second Day</ShippingMethod>
                           
                         </FulfillmentData>
                         <Item>
                            <AmazonOrderItemCode>24354028206666</AmazonOrderItemCode>
                           
                            <Quantity>1</Quantity>                               
                         </Item>
                      </OrderFulfillment>
                   </Message>
                </AmazonEnvelope>

#2

Should be <AmazonOrderID></AmazonOrderID>

The “d” is uppercase, not lowercase.

I also don’t see you adding tracking <ShipperTrackingNumber></ShipperTrackingNumber>


#3

Case sensitivity, ok, I’ll try that. I’ve tried with and without tracking numbers with the same message back


#4

No luck. Same error with AmazonOrderID as AmazonOrderId. And tried again with a tracking number specified.


#5

I just ran one through with this XML.

<?xml version="1.0" encoding="UTF-8"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>ANZE9ULNDABCD</MerchantIdentifier>
</Header>
<MessageType>OrderFulfillment</MessageType>
<Message>
<MessageID>1</MessageID>
<OrderFulfillment>
<AmazonOrderID>111-8072838-5212345</AmazonOrderID>
<FulfillmentDate>2020-05-04T17:45:28+00:00</FulfillmentDate>
<FulfillmentData>
<CarrierCode>USPS</CarrierCode>
<ShippingMethod>USPS First Class</ShippingMethod>
<ShipperTrackingNumber>9400111899562759612345</ShipperTrackingNumber>
</FulfillmentData>
<Item>
<AmazonOrderItemCode>36427027871234</AmazonOrderItemCode>
<Quantity>1</Quantity>
</Item>
</OrderFulfillment>
</Message>
</AmazonEnvelope>

Worked fine.

image


PHP SubmitFeed XML is "Ill-Formed"
OrderFullfillment Feed Failing