-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tracking multiple items error... "The data you submitted is incomplete or invalid" #700
Comments
.try to use all Elements spezified in the orderfulfillment.xsd
Shipfromaddress Element is missing
Merchantorderid is missing
Luschmann Warenhandel
Inh. Thomas Luschmann
Schlesierweg 4
34346 Hann. Münden
Tel./Fax.: 004932121285722
Adam ***@***.***> schrieb am Mo. 15. Jan. 2024 um 21:53:
… hi there...
I'm trying to specify each item in each upload I do because I need to
track shipping separately, I added a List to the OrderFulfillmentMessage
object and it's uploading well. Still, anyway, I'm getting an error
after... "The data you submitted is incomplete or invalid"
I'm doing this:
int messageId = 1;
foreach (var item in tList)
{
list.Add(new OrderFulfillmentMessage()
{
AmazonOrderID = item["AmazonOdrId"].ToString(),
FulfillmentDate = item["FulfillmentDate"] + "",
FulfillmentData = new FulfillmentData()
{
CarrierCode = item["CarrierCode"].ToString(),
ShippingMethod = "Standard",
ShipperTrackingNumber = item["ShipperTrackingNumber"].ToString(),
},
Item = new List<Item> { new Item {
AmazonOrderItemCode = item["FreeTxt"]?.ToString(),
Quantity = Convert.ToInt32(decimal.Parse(item["Quantity"].ToString()))
} }
});
messageId++;
}
createDocument.AddOrderFulfillmentMessage(list);
var xml = createDocument.GetXML();
string xmlfilename = string.Format(@"AmzFeed/Upload/AmzShippingFeedUpload_{0}.xml", DateTime.Now.Ticks);
System.IO.File.WriteAllText(xmlfilename, xml); ;
var feedID = amazonConnection.Feed.SubmitFeed(xml, FeedType.POST_ORDER_FULFILLMENT_DATA);
updating this:
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<OrderFulfillment>
<AmazonOrderID>111-1111111-1111111</AmazonOrderID>
<FulfillmentDate>2024-01-12T00:00:00</FulfillmentDate>
<FulfillmentData>
<CarrierCode>USPS</CarrierCode>
<ShippingMethod>Standard</ShippingMethod>
<ShipperTrackingNumber>487965489465483</ShipperTrackingNumber>
</FulfillmentData>
<Item>
<AmazonOrderItemCode>87465486432484354</AmazonOrderItemCode>
<Quantity>1</Quantity>
</Item>
</OrderFulfillment>
</Message>
and getting this in the result file:
{
"MessageID": "2",
"ResultCode": "Error",
"ResultMessageCode": "18028",
"ResultDescription": "The data you submitted is incomplete or invalid. For help fixing this, see http://sellercentral.amazon.com/gp/help/30721",
"AdditionalInfo": {
"SKU": null,
"FulfillmentCenterID": null,
"AmazonOrderID": "114-1111111-1111111",
"AmazonOrderItemCode": null
}
},
any help with this, please?
—
Reply to this email directly, view it on GitHub
<#700>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUQIONS5QW52GTXXTMBZEC3YOWJMVAVCNFSM6AAAAABB3ZULFGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DENRWGU2DQMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@ThomasL1973 Thank for answering this, i added MerchatFulfillmentId, and MerchantFulfillmentItemId, at this point in my code I don't have the address, I can get it but I don't think that would solve the issue (missing address at that point)... this is my new code:
I'm uploading this:
and getting this error:
I think I don't have more elements to put in there, I was thinking of the type of each variable, but it's uploading the XML like that, and I think it's right... is there a way to upload the SKU code with this package ??? |
hi there...
I'm trying to specify each item in each upload I do because I need to track shipping separately, I added a List to the OrderFulfillmentMessage object and it's uploading well. Still, anyway, I'm getting an error after... "The data you submitted is incomplete or invalid"
I'm doing this:
updating this:
and getting this in the result file:
any help with this, please?
The text was updated successfully, but these errors were encountered: