Open daiqi77777 opened 3 months ago
I encountered the same problem
same here. amazon can u fix please.
BTW packing option sid is always this same guid.
"packingOptionId": "po00000000-0000-0000-0000-000000000000",
@jevoniuk can u please take a look
@daiqi77777 please change the label to bug
+1,
"details": "Expected item quantities 506: 12" when I am passing in a box content with QuantityInBox:6 and then quantity:2. 6*2 =12 typically.
@daiqi77777 please change the label to bug
ok
sometimes success
sometimes success
Was this done with BOX_CONTENTS_PROVIDED or with a different value for the contentInformationSource enum?
sometimes success
Was this done with BOX_CONTENTS_PROVIDED or with a different value for the contentInformationSource enum?
BOX_CONTENTS_PROVIDED
I solved it !!!!
how?
I solved it !!!!
The quantity per box in the packing template is inconsistent with the quantity per box in setPackingInformation?
I solved it !!!!
The quantity per box in the packing template is inconsistent with the quantity per box in setPackingInformation?
I just tried matching the quantities to the packing template and I still get the same error message.
amazon answered me this
Greetings from Selling Partner API Developer Support,
We have received some updates from our Technical team regarding the Fulfillment Inbound error you encountered.
They confirmed the error is caused with an issue with the way Amazon expects the prepOwner information, where the value for some shipments not matching the valid values in the documentation. They do plan on developing and deploying a fix for this in the near future.
For the short term solution, please input “SELLER” as the “PrepOwner” for SKUs that do not require prep. “SELLER” will also continue to be the correct input for SKUs that the seller intends to prep.
Best regards,
Rui W. Selling Partner API Developer Support
amazon answered me this
Greetings from Selling Partner API Developer Support,
We have received some updates from our Technical team regarding the Fulfillment Inbound error you encountered.
They confirmed the error is caused with an issue with the way Amazon expects the prepOwner information, where the value for some shipments not matching the valid values in the documentation. They do plan on developing and deploying a fix for this in the near future.
For the short term solution, please input “SELLER” as the “PrepOwner” for SKUs that do not require prep. “SELLER” will also continue to be the correct input for SKUs that the seller intends to prep.
Best regards,
Rui W. Selling Partner API Developer Support
But this is regarding the issue with "MERCHANT" or "SELLER"? I think you confused the thread.
Anyway, the issue with expected items and/or quantities in setPackingInformation seems to work now. I think Amazon has fixed it.
amazon answered me this
Greetings from Selling Partner API Developer Support,
We have received some updates from our Technical team regarding the Fulfillment Inbound error you encountered.
They confirmed the error is caused with an issue with the way Amazon expects the prepOwner information, where the value for some shipments not matching the valid values in the documentation. They do plan on developing and deploying a fix for this in the near future.
For the short term solution, please input “SELLER” as the “PrepOwner” for SKUs that do not require prep. “SELLER” will also continue to be the correct input for SKUs that the seller intends to prep.
Best regards,
Rui W. Selling Partner API Developer Support
you must keep your sku is ITEM_LABELING and ITEM_NO_PREP; I think this is amazon bug ;
Developer support have told me this is fixed, I was able to create a new shipment just now.
Developer support have told me this is fixed, I was able to create a new shipment just now.
Yes, me too!!! =)
ERROR: Package group pgfxxxxxx-4a9b-4f62-abc0-37c6893675f1 did not contain expected items and/or quantities
I also encountered this problem, who can sum up how to solve it?
can u post your payload and I will try to help you
I have the same issue. It is unclear from this thread how to solve it. Please advise. Thanks.
I was able to solve it by removing the manufacturingLotCode from both: POST /inbound/fba/2024-03-20/inboundPlans POST /inbound/fba/2024-03-20/inboundPlans/{{inboundPlanId}}/packingInformation
I hope that helps.
hello,
I'm testing the setPackingInformation api, the url {{baseUrl}}/inbound/fba/2024-03-20/inboundPlans/:inboundPlanId/packingInformation
here is the body
{ "packageGroupings": [ { "packingGroupId": "pgxxxxx", "boxes": [ { "weight": { "unit": "LB", "value": 5 }, "dimensions": { "unitOfMeasurement": "IN", "length": 20, "width": 20, "height": 20 }, "quantity": 200, "boxId": 1, "templateName": "P1-B1", "contents": [ { "msku": "tst-my-16", "quantityInBox": 200, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED" }, { "weight": { "unit": "LB", "value": 5 }, "dimensions": { "unitOfMeasurement": "IN", "length": 20, "width": 20, "height": 20 }, "quantity": 200, "boxId": 2, "templateName": "P1-B1", "contents": [ { "msku": "tst-my-17", "quantityInBox": 200, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED" } ] } ] }
when I submit the request, get the error
{ "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pg9xxxxxx did not contain expected items and/or quantities", "details": "Expected item quantitiesItem(msku=tst-my-17, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): 200,Item(msku=tst-my-16, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): 200" } ] }
anyone can help with this? thanks!
and what's "templateName"? how can I get this templateName?
Hi @jackmin-sw , were you able to find a solution to the error? or anyone here was able to submit the Packing information using the setPackingInformation API call?
Hi @jackmin-sw , were you able to find a solution to the error? or anyone here was able to submit the Packing information using the setPackingInformation API call?
I just find the reason for this, the quantity should be 1 , here is an test json data you can try, the quantityInBox is your product number
{ "packageGroupings": [ { "packingGroupId": "pgbxxxxx", "boxes": [ { "weight": { "unit": "KG", "value": 5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 20, "width": 20, "height": 20 }, "quantity": 1, "boxId": 1, "templateName": "P1-B1", "contents": [ { "msku": "tst-my-16", "quantityInBox": 400, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED" }, { "weight": { "unit": "KG", "value": 5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 20, "width": 20, "height": 20 }, "quantity": 1, "boxId": 2, "templateName": "P1-B2", "contents": [ { "msku": "tst-my-16", "quantityInBox": 400, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED" }, { "weight": { "unit": "KG", "value": 5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 20, "width": 20, "height": 20 }, "quantity": 1, "boxId": 3, "templateName": "P1-B3", "contents": [ { "msku": "tst-my-16", "quantityInBox": 200, "prepOwner": "SELLER", "labelOwner": "SELLER" }, { "msku": "tst-my-17", "quantityInBox": 200, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED" }, { "weight": { "unit": "KG", "value": 5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 20, "width": 20, "height": 20 }, "quantity": 1, "boxId": 4, "templateName": "P1-B4", "contents": [ { "msku": "tst-my-17", "quantityInBox": 400, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED" } , { "weight": { "unit": "KG", "value": 5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 20, "width": 20, "height": 20 }, "quantity": 1, "boxId": 5, "templateName": "P1-B5", "contents": [ { "msku": "tst-my-17", "quantityInBox": 400, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED" } ] } ] }
@MeenaAmz
any update on this bug, I am still getting this error : Package group pg9xxxxxxxxxe2 did not contain expected items and/or quantities.
Hi, here is my plan data
[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":50},{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":50},{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":50},{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":50}]
And my setPackingInformation body
{"packageGroupings":[{"boxes":[{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11139","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11161","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11164","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}},{"contentInformationSource":"BOX_CONTENT_PROVIDED","items":[{"labelOwner":"SELLER","msku":"***-11149","prepOwner":"SELLER","quantity":5}],"dimensions":{"height":11.0,"length":19.0,"unitOfMeasurement":"IN","width":14.0},"quantity":1,"weight":{"unit":"LB","value":30.0}}],"packingGroupId":"pgdfbe94a6-4a57-4bb0-9eae-b63c720e7540"}]}
And it still returns me an error:
{ "code": "BadRequest", "message": "ERROR: Package group pgdfbe94a6-4a57-4bb0-9eae-b63c720e7540 did not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=***-11139, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): 50,Item(msku=***-11161, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): 50,Item(msku=***-11164, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): 50,Item(msku=***-11149, mlc=null, expiration=null, labelOwner=null, prepOwner=SELLER, isQtyKnown=true): 50" }
Is there any info how to fix this behaviour?
I encountered the same problem, case 15461006971
Same here, case 15444832031
We tried a lot, mostly changing the prep-owner, label-owner etc. Reduced the quantities, removing lot and/or expiration date.
Currently we are experimenting with the most simple setup. Just some items of the same SKU in one box, no lot, no exp. data. But event this fails.
Btw. we are also in touch with Dev support, but since one week an some back and forth, we still have no solution. Seems to be a tougher problem.
I've also tried various data and still don't have the right results.
setPackingInformation body
{
"packageGroupings": [
{
"boxes": [
{
"contentInformationSource": "BOX_CONTENT_PROVIDED",
"dimensions": {
"height": 8.0,
"length": 8.0,
"unitOfMeasurement": "CM",
"width": 8.0
},
"items": [
{
"labelOwner": "SELLER",
"msku": "xxxxx_FBA",
"prepOwner": "SELLER",
"quantity": 10,
}
],
"quantity": 1,
"weight": {
"unit": "KG",
"value": 0.1
}
}
],
"shipmentId": "shdxxxxxxx"
}
]
}
What's strange is that I set prepOwner = SELLER (in the inbound plan), but in the expected item it says prepOwner= null!
Expected item quantitiesItem(msku=xxxxx_FBA, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 10
+1 I cannot specify items quantities.
BadRequest : ERROR: Package group pg6de0ed29-52e8-46c9-b8b8-06e9ed92843c did not contain expected items and/or quantities.[Expected item quantitiesItem(msku=TEST***-FBA, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 10]
Nowever I do specify the data
class SetPackingInformationRequest {
packageGroupings: [class PackageGroupingInput {
boxes: [class BoxInput {
contentInformationSource: BOX_CONTENT_PROVIDED
dimensions: class Dimensions {
height: 24
length: 4.9
unitOfMeasurement: CM
width: 23
}
items: [class ItemInput {
expiration: null
labelOwner: SELLER
manufacturingLotCode: null
msku: TEST***-FBA
prepOwner: SELLER ## OR NONE
quantity: 10
}]
quantity: 1
weight: class Weight {
unit: KG
value: 0.34
}
}]
packingGroupId: pg6de0ed29-52e8-46c9-b8b8-06e9ed92843c
shipmentId: null
}]
}
Brothers, I also encountered this problem, but I solved it; The solution is to call listPackingGroupItems
Operations check the returned mSKU data;
{"items": [{"asin": "**", "msku": "****sss", "fnsku": "***sssss", "quantity": 20, "labelOwner": "MERCHANT", "prepInstructions": [{"fee": {"code": "USD", "amount": 0}, "prepType": "ITEM_LABELING", "prepOwner": "MERCHANT"}, {"fee": {"code": "USD", "amount": 0}, "prepType": "ITEM_NO_PREP", "prepOwner": "MERCHANT"}]}], "pagination": []}
If msku also includes ITEM_LABELING and ITEM_NO_PREP , You succeeded; yes ,it's and ;
amazon answered me this Greetings from Selling Partner API Developer Support, We have received some updates from our Technical team regarding the Fulfillment Inbound error you encountered. They confirmed the error is caused with an issue with the way Amazon expects the prepOwner information, where the value for some shipments not matching the valid values in the documentation. They do plan on developing and deploying a fix for this in the near future. For the short term solution, please input “SELLER” as the “PrepOwner” for SKUs that do not require prep. “SELLER” will also continue to be the correct input for SKUs that the seller intends to prep. Best regards, Rui W. Selling Partner API Developer Support
you must keep your sku is ITEM_LABELING and ITEM_NO_PREP; I think this is amazon bug ;
You're right ; The msku I tried for the first time only returned ITEM_LABELING , then i get the error msg ;
But when I switched to a different msku and both ITEM_LABELING , ITEM_NO_PREP returned , I succeeded
amazon answered me this Greetings from Selling Partner API Developer Support, We have received some updates from our Technical team regarding the Fulfillment Inbound error you encountered. They confirmed the error is caused with an issue with the way Amazon expects the prepOwner information, where the value for some shipments not matching the valid values in the documentation. They do plan on developing and deploying a fix for this in the near future. For the short term solution, please input “SELLER” as the “PrepOwner” for SKUs that do not require prep. “SELLER” will also continue to be the correct input for SKUs that the seller intends to prep. Best regards, Rui W. Selling Partner API Developer Support
you must keep your sku is ITEM_LABELING and ITEM_NO_PREP; I think this is amazon bug ;
You're right ; The msku I tried for the first time only returned ITEM_LABELING , then i get the error msg ;
But when I switched to a different msku and both ITEM_LABELING , ITEM_NO_PREP returned , I succeeded
You mentioned that you switched to a different MSSKU. Was the issue with the previous MSSKU resolved? How was it resolved? Thank you very much for your response. How can I set up an mssku to have both ITEM_LABELING and ITEM_NO_PREP?
amazon answered me this Greetings from Selling Partner API Developer Support, We have received some updates from our Technical team regarding the Fulfillment Inbound error you encountered. They confirmed the error is caused with an issue with the way Amazon expects the prepOwner information, where the value for some shipments not matching the valid values in the documentation. They do plan on developing and deploying a fix for this in the near future. For the short term solution, please input “SELLER” as the “PrepOwner” for SKUs that do not require prep. “SELLER” will also continue to be the correct input for SKUs that the seller intends to prep. Best regards, Rui W. Selling Partner API Developer Support
you must keep your sku is ITEM_LABELING and ITEM_NO_PREP; I think this is amazon bug ;
You're right ; The msku I tried for the first time only returned ITEM_LABELING , then i get the error msg ; But when I switched to a different msku and both ITEM_LABELING , ITEM_NO_PREP returned , I succeeded
You mentioned that you switched to a different MSSKU. Was the issue with the previous MSSKU resolved? How was it resolved? Thank you very much for your response. How can I set up an mssku to have both ITEM_LABELING and ITEM_NO_PREP?
only switched to a different MSSKU, then call listPackingGroupItems
Operations check the returned mSKU; but
not find the Operations
for setting up TEM_LABELING , ITEM_NO_PREP with sp-api , I also want to find a way to set it up
Thx for the insights! I tried to set preparation instructions in seller central (when you follow ShipToAmazon workflow). The UI shows that no preparation is needed. But the listPackingGroupItems
API still returns only ITEM_LABELING, part without ITEM_NO_PREP.
"prepInstructions": [
{
"prepType": "ITEM_LABELING",
"fee": {
"amount": 0,
"code": "EUR"
},
"prepOwner": "MERCHANT"
}
]
Even for the workflows/plans created via the UI it is the case (you can use workflow ID as an inbound plan ID to check). The UI however does not use the same api as us so it works for them.
@Elibool
Operations check the returned mSKU; but not find the Operations for setting up TEM_LABELING , ITEM_NO_PREP with sp-api , I also want to find a way to set it up
As per theirs documentation (see the guide) there's no api for it. You have to set it manually via the UI once per item. There's a separate issue for this. People with millions of SKUS are super happy :P
A quick question:
only switched to a different MSSKU
Do you mean that you removed a listing and created it with another SKU? After that set no preps on the UI and it magically started working? Would you mind mentioning some steps as a workaround? Thank you.
amazon answered me this Greetings from Selling Partner API Developer Support, We have received some updates from our Technical team regarding the Fulfillment Inbound error you encountered. They confirmed the error is caused with an issue with the way Amazon expects the prepOwner information, where the value for some shipments not matching the valid values in the documentation. They do plan on developing and deploying a fix for this in the near future. For the short term solution, please input “SELLER” as the “PrepOwner” for SKUs that do not require prep. “SELLER” will also continue to be the correct input for SKUs that the seller intends to prep. Best regards, Rui W. Selling Partner API Developer Support
you must keep your sku is ITEM_LABELING and ITEM_NO_PREP; I think this is amazon bug ;
You're right ; The msku I tried for the first time only returned ITEM_LABELING , then i get the error msg ;
But when I switched to a different msku and both ITEM_LABELING , ITEM_NO_PREP returned , I succeeded
If I got it right from your answer for now it looks like you didn't find solution, but found set of SKU that works well. But what about all other SKUs?
I started to create a shipping plan with PrepOwner and selected SELLER, why do I need to use AMAZON when I setPackingInformation? Hasn't this problem been solved yet?
So at June 28th Amazon released Inbound API and they made some changes. Even if you create your plan with "labelOwner" SELLER for each items you need to check packingGroupItems for amazon prepInstructions. And if there is no LABELING prep for item than this item "labelOwner" will be "AMAZON". Like so
{
"pagination": {
},
"items": [
{
"labelOwner": "SELLER",
"msku": "***-11164",
"quantity": 50,
"fnsku": "***",
"asin": "***",
"prepInstructions": [
{
"prepType": "ITEM_LABELING",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
},
{
"prepType": "ITEM_BUBBLEWRAP",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
}
]
},
{
"labelOwner": "SELLER",
"msku": "***-11161",
"quantity": 50,
"fnsku": "***",
"asin": "***",
"prepInstructions": [
{
"prepType": "ITEM_LABELING",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
},
{
"prepType": "ITEM_BUBBLEWRAP",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
}
]
},
{
"labelOwner": "SELLER",
"msku": "***-11139",
"quantity": 50,
"fnsku": "***",
"asin": "***",
"prepInstructions": [
{
"prepType": "ITEM_LABELING",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
},
{
"prepType": "ITEM_BUBBLEWRAP",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
}
]
},
{
"labelOwner": "AMAZON",
"msku": "***-11149",
"quantity": 50,
"fnsku": "***",
"asin": "***",
"prepInstructions": [
{
"prepType": "ITEM_TAPING",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
}
]
}
]
}
As you can see last item doesnt have LABELING prep and labelOwner is Amazon. So when you post boxes via setPackingInformation you need to pass correct labelOwner based on packingOptions response. Now it works, at least for me, until next patches
Hi Team, We understand the frustration here. Fix got deployed and the API should be working as expected. If you still face issues, can you please provide full request and response along with the inbound plan ID to did more ?
@puppsupr I also encountered this problem when calling setPackingInformation, here is my data, please check.
list Packing Group Items responsed
"pagination": {},
"items": [
{
"labelOwner": "SELLER",
"msku": "****kake",
"quantity": 12,
"fnsku": "********",
"asin": "*********",
"expiration": "2024-10-25T00:00Z",
"prepInstructions": [
{
"prepType": "ITEM_LABELING",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
},
{
"prepType": "ITEM_NO_PREP",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
}
]
},
{
"labelOwner": "SELLER",
"msku": "********62L0",
"quantity": 60,
"fnsku": "**********",
"asin": "**********",
"expiration": "2024-10-25T00:00Z",
"prepInstructions": [
{
"prepType": "ITEM_LABELING",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
},
{
"prepType": "ITEM_BUBBLEWRAP",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
}
]
}
]
}
setPackingInformation request
"packageGroupings": [
{
"boxes": [
{
"contentInformationSource": "BOX_CONTENT_PROVIDED",
"dimensions": {
"height": "20",
"length": "25",
"unitOfMeasurement": "IN",
"width": "20"
},
"items": [{
"expiration": "2024-10-25",
"labelOwner": "SELLER",
"prepOwner": "SELLER",
"msku": "***********Pikake",
"quantity": "12"
}],
"quantity": 1,
"weight": {
"unit": "LB",
"value": "30"
}
},
{
"contentInformationSource": "BOX_CONTENT_PROVIDED",
"dimensions": {
"height": "20",
"length": "25",
"unitOfMeasurement": "IN",
"width": "20"
},
"items": [{
"expiration": "2024-10-25",
"labelOwner": "SELLER",
"prepOwner": "SELLER",
"msku": "***********62L0",
"quantity": "60"
}],
"quantity": 1,
"weight": {
"unit": "LB",
"value": "30"
}
}
],
"packingGroupId": "pg316683a7-33b3-4a6e-8968-628b05d82506"
}
]
}
Operations responsed
"errors": [
{
"code": "BadRequest",
"message": "ERROR: Package group pg316683a7-33b3-4a6e-8968-628b05d82506 did not contain expected items and/or quantities.",
"details": "Problem item quantities:
Item(msku=*******Pikake, mlc=null, expiration=2024-10-25T00:00Z, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 12,
Item(msku=*******62L0, mlc=null, expiration=2024-10-25T00:00Z, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 60,
Item(msku=*******Pikake, mlc=null, expiration=2024-10-25, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 12, actual quantity: 0,
Item(msku=*******62L0, mlc=null, expiration=2024-10-25, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 60, actual quantity: 0"
}
]
}
@puppsupr I also encountered this problem when calling setPackingInformation, here is my data, please check.
inboundPlanId = wfea8d59bd-0051-4e35-876c-6742664686f7
list Packing Group Items response
{
"pagination": {},
"items": [
{
"labelOwner": "SELLER",
"msku": "******MLA",
"quantity": 336,
"fnsku": "X0******",
"asin": "B0******",
"expiration": "2026-07-31T00:00Z",
"prepInstructions": [
{
"prepType": "ITEM_LABELING",
"fee": {
"amount": 0,
"code": "USD"
},
"prepOwner": "SELLER"
}
]
}
]
}
setPackingInformation request
{
"packageGroupings": [
{
"boxes": [
{
"contentInformationSource": "BOX_CONTENT_PROVIDED",
"dimensions": {
"height": 8.7,
"length": 15.4,
"unitOfMeasurement": "IN",
"width": 10.2
},
"quantity": 6,
"weight": {
"unit": "LB",
"value": 19
},
"items": [
{
"labelOwner": "SELLER",
"msku": "******MLA",
"prepOwner": "SELLER",
"quantity": 56,
"expiration": "2026-07-31"
}
]
}
],
"packingGroupId": "pg4d7d668f-538a-46dc-b7f2-414116f374d3"
}
]
}
we have total units to send of 336 and these are split into 6 cases each of a quantity of 56.
Operations response
{
"errors": [
{
"code": "BadRequest",
"message": "ERROR: Package group pg4d7d668f-538a-46dc-b7f2-414116f374d3 did not contain expected items and/or quantities.",
"details": "Problem item quantities: Item(msku=******MLA, mlc=null, expiration=2026-07-31T00:00Z, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 2016, Item(msku=******MLA, mlc=null, expiration=2026-07-31, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 336, actual quantity: 0"
}
]
}
when we change the prepOwner to Amazon to match what it says in the last responce then we get the following error:
{
"errors": [
{
"code": "BadRequest",
"message": "ERROR: Package group pg4d7d668f-538a-46dc-b7f2-414116f374d3 did not contain expected items and/or quantities.",
"details": "Problem item quantities: Item(msku=******MLA, mlc=null, expiration=2026-07-31T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 2016, Item(msku=******MLA, mlc=null, expiration=2026-07-31, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 336, actual quantity: 0"
}
]
}
The qty is set to 2016 in the error message which is 336 * 6 = 2016. We changed the qty to the case qty of 56 and we still get error response as below:
{
"errors": [
{
"code": "BadRequest",
"message": "ERROR: Package group pg4d7d668f-538a-46dc-b7f2-414116f374d3 did not contain expected items and/or quantities.",
"details": "Problem item quantities: Item(msku=******MLA, mlc=null, expiration=2026-07-31T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 336, Item(msku=******MLA, mlc=null, expiration=2026-07-31, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 336, actual quantity: 0"
}
]
}
we tried omitting lot codes and expiration dates but none of this worked either. Please help as I think this is still broken.
@puppsupr I also encountered this problem when calling setPackingInformation, here is my data, please check.
inboundPlanId = wfea8d59bd-0051-4e35-876c-6742664686f7
list Packing Group Items response
{ "pagination": {}, "items": [ { "labelOwner": "SELLER", "msku": "******MLA", "quantity": 336, "fnsku": "X0******", "asin": "B0******", "expiration": "2026-07-31T00:00Z", "prepInstructions": [ { "prepType": "ITEM_LABELING", "fee": { "amount": 0, "code": "USD" }, "prepOwner": "SELLER" } ] } ] }
setPackingInformation request
{ "packageGroupings": [ { "boxes": [ { "contentInformationSource": "BOX_CONTENT_PROVIDED", "dimensions": { "height": 8.7, "length": 15.4, "unitOfMeasurement": "IN", "width": 10.2 }, "quantity": 6, "weight": { "unit": "LB", "value": 19 }, "items": [ { "labelOwner": "SELLER", "msku": "******MLA", "prepOwner": "SELLER", "quantity": 56, "expiration": "2026-07-31" } ] } ], "packingGroupId": "pg4d7d668f-538a-46dc-b7f2-414116f374d3" } ] }
we have total units to send of 336 and these are split into 6 cases each of a quantity of 56.
Operations response
{ "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pg4d7d668f-538a-46dc-b7f2-414116f374d3 did not contain expected items and/or quantities.", "details": "Problem item quantities: Item(msku=******MLA, mlc=null, expiration=2026-07-31T00:00Z, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 2016, Item(msku=******MLA, mlc=null, expiration=2026-07-31, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 336, actual quantity: 0" } ] }
when we change the prepOwner to Amazon to match what it says in the last responce then we get the following error:
{ "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pg4d7d668f-538a-46dc-b7f2-414116f374d3 did not contain expected items and/or quantities.", "details": "Problem item quantities: Item(msku=******MLA, mlc=null, expiration=2026-07-31T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 2016, Item(msku=******MLA, mlc=null, expiration=2026-07-31, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 336, actual quantity: 0" } ] }
The qty is set to 2016 in the error message which is 336 * 6 = 2016. We changed the qty to the case qty of 56 and we still get error response as below:
{ "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pg4d7d668f-538a-46dc-b7f2-414116f374d3 did not contain expected items and/or quantities.", "details": "Problem item quantities: Item(msku=******MLA, mlc=null, expiration=2026-07-31T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 336, Item(msku=******MLA, mlc=null, expiration=2026-07-31, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 336, actual quantity: 0" } ] }
we tried omitting lot codes and expiration dates but none of this worked either. Please help as I think this is still broken.
Maybe the errors msg doesn't match the actual problem, the error is not caused by a problem of quantity.
According to my team's experience, this error msg appears when calling listPacking GroupItems
, the response prepInstructions
doesn't contain "prepType": "ITEM_LABELING" and "prepType": " ITEM_NO_PREP" at the same time.
So make sure each of your items satisfies this precondition, which related to settings on Send to Amz UI.
@he0212 the only way to control prep instructions is when you create the inbound plan. We used the following code and tried all possible alternative values for "prepOwner" e.g. 'NONE', 'SELLER', 'AMAZON' and in none of those scenarios we were able to get the inbound plan to generate the Packing Group with "prepType": " ITEM_NO_PREP". There is no other way for us to control the prepInstuctions. In my view their is a bug where the inbound plan is not following instructions given to generate the packing groups and always ignoring the prepOwner. Unless you can prove me otherwise and can progromatically create the packing group with the "prepType": " ITEM_NO_PREP". IF you can prove me wrong I would love to see example code, requests and responses demonstrating this.
{
"destinationMarketplaces": [
"ATVPDKIKX0DER"
],
"items": [
{
"labelOwner": "SELLER",
"msku": "AMLA",
"prepOwner": "SELLER",
"quantity": 336,
"expiration": "2026-07-31"
}
],
"sourceAddress": {
"addressLine1": "10 blah",
"city": "blah",
"countryCode": "US",
"name": "blah",
"phoneNumber": "14545545454",
"postalCode": "22222",
"addressLine2": "",
"companyName": "blah",
"email": "info@gmail.com",
"stateOrProvinceCode": "VA"
},
"name": "TEST-20240702-US-AML-POSTMAN-V7"
}
I believe the issue is a duplicate of https://github.com/amzn/selling-partner-api-models/issues/3951#issuecomment-2210664769
+1
Same issue. It has been not resolved until now. Please provide a date when this is going to be fixed
Hi All, Thanks for all the feedback and the api requests. Our team has identified the bug and working to resolve it ASAP. Will provide an update once resolved.
@amistry007
I have mentioned that No Prep settings are related toSend to Amazon
UI, where to create a new shipment plan artificially on Seller Center.
In Send to Amazon UI, foucs on the first step, then check SKU detials
table, and lastly confirm the filed named "Information/action
", which contains the prep information and allows you to change related settings.
If the value of perp required
is not No prep required , just change it and save.
ERROR: Package group pgxxxxx0ea41 did not contain expected items and/or quantities When I call this interface and the provided contentInformationSource is BOX_CONTENT_PROVIDED, this error will be prompted. How to solve