amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
589 stars 728 forks source link

Fulfillment Inbound API 2024-03-20: setPackingInformation - Shipment XXXXXXXXXXXX-XXX-XXXX-XXX-XXXXXXXXXXXXXX did not contain expected items and/or quantities. #3951

Open Alvaromero opened 3 months ago

Alvaromero commented 3 months ago

When calling the setPackingInformation method, I receive the following error: "Shipment XXXXXXXXXXXX-XXX-XXXX-XXX-XXXXXXXXXXXXXX did not contain expected items and/or quantities."

I have checked the data, and both the MSKU and the quantity are correct. Any ideas?

Data sent:

POST /inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingInformation

{ "packageGroupings": [ { "boxes": [ { "boxId": "FBACCCCCCCC_457988", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457988", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457989", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457989", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457990", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457990", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457991", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457991", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457992", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457992", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457993", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457993", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457994", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457994", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457995", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457995", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457996", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457996", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457997", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457997", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457998", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457998", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_457999", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_457999", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_458000", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_458000", "weight": { "unit": "LB", "value": "49" } }, { "boxId": "FBACCCCCCCC_458001", "contentInformationSource": "BOX_CONTENT_PROVIDED", "items": [ { "expiration": "2026-06-07", "labelOwner": "SELLER", "manufacturingLotCode": null, "msku": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC", "prepOwner": "SELLER", "quantity": 24 } ], "dimensions": { "height": "24.00", "length": "24.00", "width": "24.00", "unitOfMeasurement": "IN" }, "quantity": 1, "templateName": "FBACCCCCCCC_458001", "weight": { "unit": "LB", "value": "49" } } ], "shipmentId": "shef8273af-34f7-45bd-b403-e0718f843c7d" } ] }

Error:

Code: BadRequest
Message: ERROR: Shipment XXXXXXXXXXXX-XXX-XXXX-XXX-XXXXXXXXXXXXXX did not contain expected items and/or quantities.
Details: Expected item quantitiesItem(msku=CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC, mlc=null, expiration=2026-06-07, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 336
puppsupr commented 3 months ago

Hi, We have a new release and change in the model for additional functionalities. Please try to import the new model and retry which should resolve the issues.

xyloneX commented 3 months ago

use case guide. step 3 setPackingInformation Request example is errors

Dejo-commerce commented 3 months ago

Hi, We have a new release and change in the model for additional functionalities. Please try to import the new model and retry which should resolve the issues.

I'm still having the same issue even with the new model you suggested. I think before the update the issue had been already fixed but now it came back.

POST /inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingInformation

{ "packageGroupings": [ { "packingGroupId": "{{40.data.packingOptions[].packingGroups[]}}", "boxes": [ { "items": [ { "msku": "LSD-01", "quantity": 1, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED", "weight": { "unit": "KG", "value": 5.5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 3, "width": 4, "height": 5 }, "quantity": 1 } ] } ] }

Response:

[ { "statusCode": 400, "headers": [ { "name": "server", "value": "Server" }, { "name": "date", "value": "Tue, 11 Jun 2024 11:37:07 GMT" }, { "name": "content-type", "value": "application/json" }, { "name": "content-length", "value": "364" }, { "name": "connection", "value": "close" }, { "name": "x-amz-rid", "value": "BBPFR0GVWDM1EYAZ48JN" }, { "name": "x-amzn-ratelimit-limit", "value": "2.0" }, { "name": "x-amzn-requestid", "value": "d8e93ebe-31d1-4da1-a04b-2570d0b5aced" }, { "name": "x-amz-apigw-id", "value": "OPFd8e93ebe31d1" }, { "name": "x-amzn-trace-id", "value": "Root=1-666836e3-d8e93ebe31d14da1" }, { "name": "vary", "value": "Content-Type,Accept-Encoding,User-Agent" }, { "name": "strict-transport-security", "value": "max-age=47474747; includeSubDomains; preload" } ], "cookieHeaders": [], "data": { "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pgXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX did not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=LSD-01, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 1" } ] }, "fileSize": 364 } ]

xyloneX commented 3 months ago

您好,我们发布了新版本,并对模型进行了更改,以增加更多功能。请尝试导入新模型并重试,这应该可以解决问题。

即使使用您建议的新型号,我仍然遇到同样的问题。我认为在更新之前这个问题已经解决了,但现在又出现了。

POST /入站/fba/2024-03-20/入站计划/{入站计划ID}/packingInformation

{ "packageGroupings": [ { "packingGroupId": "{{40.data.packingOptions[].packingGroups[]}}", "boxes": [ { "items": [ { "msku": "LSD-01", "quantity": 1, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED", "weight": { "unit": "KG", "value": 5.5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 3, "width": 4, "height": 5 }, "quantity": 1 } ] } ] }

回复:

[ { "statusCode": 400, "headers": [ { "name": "server", "value": "Server" }, { "name": "date", "value": "Tue, 11 Jun 2024 11:37:07 GMT" }, { "name": "content-type", "value": "application/json" }, { "name": "content-length", "value": "364" }, { "name": "connection", "value": "close" }, { "name": "x-amz-rid", "value": "BBPFR0GVWDM1EYAZ48JN" }, { "name": "x-amzn-ratelimit-limit", "value": "2.0" }, { "name": "x-amzn-requestid", "value": "d8e93ebe-31d1-4da1-a04b-2570d0b5aced" }, { "name": "x-amz-apigw-id", "value": "OPFd8e93ebe31d1" }, { "name": "x-amzn-trace-id", "value": "Root=1-666836e3-d8e93ebe31d14da1" }, { "name": "vary", "value": "Content-Type,Accept-Encoding,User-Agent" }, { "name": "strict-transport-security", "value": "max-age=47474747; includeSubDomains; preload" } ], "cookieHeaders": [], "data": { "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pgXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX did not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=LSD-01, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 1" } ] }, "fileSize": 364 } ]

+1

jackj93 commented 3 months ago

I'm running into the exact issues

request:

{
  "packageGroupings": [
    {
      "packingGroupId": "pgXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
      "boxes": [
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "dimensions": {
            "unitOfMeasurement": "CM",
            "length": 56,
            "width": 50,
            "height": 42
          },
          "items": [
            {
              "quantity": 45,
              "msku": "XX-XXXXX-ITEM1",
              "labelOwner": "SELLER",
              "prepOwner": "SELLER"
            }
          ],
          "quantity": 4,
          "weight": {
            "unit": "KG",
            "value": 16.8
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "dimensions": {
            "unitOfMeasurement": "CM",
            "length": 56,
            "width": 50,
            "height": 42
          },
          "items": [
            {
              "quantity": 45,
              "msku": "XX-XXXXX-ITEM2",
              "labelOwner": "SELLER",
              "prepOwner": "SELLER"
            }
          ],
          "quantity": 4,
          "weight": {
            "unit": "KG",
            "value": 16.8
          }
        }
      ]
    }
  ]
}

The response comes back as

{
  "errors": [
    {
      "code": "BadRequest",
      "message": "ERROR: Package group pgXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX did not contain expected items and/or quantities.",
      "details": "Expected item quantitiesItem(msku=XX-XXXXX-ITEM1, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 180,Item(msku=XX-XXXXX-ITEM2, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 180"
    }
  ]
}
jsrgqinbin commented 3 months ago

{ "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pgXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX did not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=XXXX, mlc=null, expiration=null, labelOwner=null, prepOwner=SELLER, isQtyKnown=true): 12" } ] }

shantikolli commented 3 months ago

+1

same error

{ "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pgxxxxxxxxxxxxxxxxxxxdid not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=xxxxxxxxx, mlc=null, expiration=null, labelOwner=null, prepOwner=null, isQtyKnown=true): 1" } ] }

wimoor-erp commented 3 months ago

same error case id:15461006971

superauu commented 3 months ago

May I ask if anyone has successfully solved this problem?

puppsupr commented 3 months ago

Hi, We have a new release and change in the model for additional functionalities. Please try to import the new model and retry which should resolve the issues.

I'm still having the same issue even with the new model you suggested. I think before the update the issue had been already fixed but now it came back.

POST /inbound/fba/2024-03-20/inboundPlans/{inboundPlanId}/packingInformation

{ "packageGroupings": [ { "packingGroupId": "{{40.data.packingOptions[].packingGroups[]}}", "boxes": [ { "items": [ { "msku": "LSD-01", "quantity": 1, "prepOwner": "SELLER", "labelOwner": "SELLER" } ], "contentInformationSource": "BOX_CONTENT_PROVIDED", "weight": { "unit": "KG", "value": 5.5 }, "dimensions": { "unitOfMeasurement": "CM", "length": 3, "width": 4, "height": 5 }, "quantity": 1 } ] } ] }

Response:

[ { "statusCode": 400, "headers": [ { "name": "server", "value": "Server" }, { "name": "date", "value": "Tue, 11 Jun 2024 11:37:07 GMT" }, { "name": "content-type", "value": "application/json" }, { "name": "content-length", "value": "364" }, { "name": "connection", "value": "close" }, { "name": "x-amz-rid", "value": "BBPFR0GVWDM1EYAZ48JN" }, { "name": "x-amzn-ratelimit-limit", "value": "2.0" }, { "name": "x-amzn-requestid", "value": "d8e93ebe-31d1-4da1-a04b-2570d0b5aced" }, { "name": "x-amz-apigw-id", "value": "OPFd8e93ebe31d1" }, { "name": "x-amzn-trace-id", "value": "Root=1-666836e3-d8e93ebe31d14da1" }, { "name": "vary", "value": "Content-Type,Accept-Encoding,User-Agent" }, { "name": "strict-transport-security", "value": "max-age=47474747; includeSubDomains; preload" } ], "cookieHeaders": [], "data": { "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pgXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX did not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=LSD-01, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 1" } ] }, "fileSize": 364 } ]

Hi, can you please provide your InboundPlanID to check on the same ?

puppsupr commented 3 months ago

+1

same error

{ "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pgxxxxxxxxxxxxxxxxxxxdid not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=xxxxxxxxx, mlc=null, expiration=null, labelOwner=null, prepOwner=null, isQtyKnown=true): 1" } ] }

The labelOwner and prepOwner can't be null. Should be either Amazon or Seller

jackj93 commented 3 months ago

+1 same error { "errors": [ { "code": "BadRequest", "message": "ERROR: Package group pgxxxxxxxxxxxxxxxxxxxdid not contain expected items and/or quantities.", "details": "Expected item quantitiesItem(msku=xxxxxxxxx, mlc=null, expiration=null, labelOwner=null, prepOwner=null, isQtyKnown=true): 1" } ] }

The labelOwner and prepOwner can't be null. Should be either Amazon or Seller

this is just the response. We’ve set it to SELLER in the request

shantikolli commented 3 months ago

Yes @jackj93 ..I have sent as seller in the request but it threw an error message as mentioned in the above message

puppsupr commented 3 months ago

Can you please provide exact request and response along with the InboundPlan ID ?

jackj93 commented 3 months ago

Can you please provide exact request and response along with the InboundPlan ID ?

InboundPlan ID: wf009a6e0c-0d96-4cbd-9efc-0fcb4b2e82d9

Request:

{
  "packageGroupings": [
    {
      "boxes": [
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "dimensions": {
            "height": 56,
            "length": 50,
            "unitOfMeasurement": "CM",
            "width": 42
          },
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "PT-16022-WH12",
              "prepOwner": "SELLER",
              "quantity": 45
            }
          ],
          "quantity": 4,
          "weight": {
            "unit": "KG",
            "value": 16.8
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "dimensions": {
            "height": 56,
            "length": 50,
            "unitOfMeasurement": "CM",
            "width": 42
          },
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "PT-16022-BK12",
              "prepOwner": "SELLER",
              "quantity": 45
            }
          ],
          "quantity": 4,
          "weight": {
            "unit": "KG",
            "value": 16.8
          }
        }
      ],
      "packingGroupId": "pgb3b0bd72-a4a6-4298-8647-2da283250aa5"
    }
  ]
}

Response:

{
    "errors": [
        {
            "code": "BadRequest",
            "message": "ERROR: Package group pgb3b0bd72-a4a6-4298-8647-2da283250aa5 did not contain expected items and/or quantities.",
            "details": "Expected item quantitiesItem(msku=PT-16022-BK12, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 180,Item(msku=PT-16022-WH12, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=null, isQtyKnown=true): 180"
        }
    ]
}
alexartisans commented 3 months ago

This is ridiculous ! This issue took 3 weeks to be fixed in the first release ! And now ALL of the Inbound API is UNUSABLE as you cant complete the workflow... We spend $$$$$ and human resources to make this work as this is extremely important for us to get ready for Christmas. Having this delays is extremely poor judgment on the side of Amazon API team. Especially considering that you have fixed it before !

Was anyone able to get behind this error ?

pacton commented 3 months ago

@alexartisans - I couldn't agree more. Amazon has the worst developer support from any company I have seen in my 30+ years of programming. They put a deadline on something they don't even have close to ready. They expect us to burn man hours and money and being in a panic to get this ready and all they have is a big pile of junk that is not even close to production ready. A bunch of garbage all around - from their developer relations to the junk code they produce.

emakunin commented 3 months ago

+1. It worked for me before the latest API update. Now it has stopped

xyloneX commented 3 months ago

+1 PlanId:wfb2888c10-6d49-49af-9b38-7538cd10a1bf

"packageGroupings": [
        {
            "packingGroupId": "pg179bf895-c503-46e4-b6ab-7fbaf653cecc",
            "boxes": [
                {
                    "templateName":"P1-1",
                    "contentInformationSource": "BOX_CONTENT_PROVIDED",
                    "dimensions": {
                        "height": 15,
                        "length": 45,
                        "unitOfMeasurement": "CM",
                        "width": 60
                    },
                    "quantity": 1,
                    "weight": {
                        "unit": "KG",
                        "value": 20
                    },
                    "items": [
                        {
                            "labelOwner": "SELLER",
                            "manufacturingLotCode": "xxxxxxxxx",
                            "msku": "xxxxxxxxx",
                            "prepOwner": "SELLER",
                            "quantity": 100
                        }
                    ]
                }
            ]
        }
    ]

Response:

{
    "errors": [
        {
            "code": "BadRequest",
            "message": "ERROR: Package group pg179bf895-c503-46e4-b6ab-7fbaf653cecc did not contain expected items and/or quantities.",
            "details": "Problem item quantities: Item(msku=alon-xxxxxxx, mlc=alon-xxxxxxx, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 100, Item(msku=alon-xxxxxxx, mlc=alon-xxxxxxx, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 100, actual quantity: 0"
        }
    ]
}
kaipaysen commented 3 months ago

Selling Partner API Developer Support said they fixed the issue last friday, haven't checked yet. EDIT: API is still not working.

Alvaromero commented 3 months ago

The only thing that changed was the error message, I created a new plan and the result is the same, before Friday's adjustment it indicated that the expected prepOwner was NULL now it expects the value "Amazon" (which is incorrect)

Code: BadRequest

Message: ERROR: Shipment XXXXXXXXXXXX-XXX-XXXX-XXX-XXXXXXXXXXXXXX did not contain expected items and quantities.

Details: Problem item quantities: Item(msku=CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC, mlc=null, expiration=2026-06-27T00:00Z, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 336, Item(msku=CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC, mlc=null, expiration=2026-06-27, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 336, actual quantity: 0

When the API was released, the bug that Amazon fixed was related to this same field, I hope they notice it soon and fix it.

puppsupr commented 3 months ago

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 ?

xyloneX commented 3 months ago

@puppsupr

PlanId:wf24a39ebd-3956-4e4a-aad2-3d26dc11468b

"packageGroupings": [
        {
            "packingGroupId": "pg1704a326-792e-4b4f-803c-0c0ab9ad07f4",
            "boxes": [
                {
                    "templateName":"P1-1",
                    "contentInformationSource": "BOX_CONTENT_PROVIDED",
                    "dimensions": {
                        "height": 15,
                        "length": 45,
                        "unitOfMeasurement": "CM",
                        "width": 60
                    },
                    "quantity": 1,
                    "weight": {
                        "unit": "KG",
                        "value": 13
                    },
                    "items": [
                        {
                            "labelOwner": "SELLER",
                            "manufacturingLotCode": "xxxxxxxxx",
                            "msku": "xxxxxxxxx",
                            "prepOwner": "SELLER",
                            "quantity": 100
                        }
                    ]
                }
            ]
        }
    ]

Response:

{
    "errors": [
        {
            "code": "BadRequest",
            "message": "ERROR: Package group pg1704a326-792e-4b4f-803c-0c0ab9ad07f4 did not contain expected items and/or quantities.",
            "details": "Problem item quantities: Item(msku=xxxxxxxxx, mlc=xxxxxxxxx, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 100, Item(msku=xxxxxxxxx, mlc=xxxxxxxxx, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 100, actual quantity: 0"
        }
    ]
}
jackj93 commented 3 months ago

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 ?

This issue still has NOT been resolved. It looks like the setPackingInformation API does not correctly read the prepOwner property in persistent storage and assumes AMAZON. I say this because listPackingGroupItems properly returns the items as prepOwner=SELLER

Please look into this immediately

puppsupr commented 3 months ago

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 ?

This issue still has NOT been resolved. It looks like the setPackingInformation API does not correctly read the prepOwner property in persistent storage and assumes AMAZON. I say this because listPackingGroupItems properly returns the items as prepOwner=SELLER

Please look into this immediately

Hi jackj93, Can you please provide request and response along with inboundplanID ?

puppsupr commented 3 months ago

@puppsupr

PlanId:wf24a39ebd-3956-4e4a-aad2-3d26dc11468b

"packageGroupings": [
        {
            "packingGroupId": "pg1704a326-792e-4b4f-803c-0c0ab9ad07f4",
            "boxes": [
                {
                    "templateName":"P1-1",
                    "contentInformationSource": "BOX_CONTENT_PROVIDED",
                    "dimensions": {
                        "height": 15,
                        "length": 45,
                        "unitOfMeasurement": "CM",
                        "width": 60
                    },
                    "quantity": 1,
                    "weight": {
                        "unit": "KG",
                        "value": 13
                    },
                    "items": [
                        {
                            "labelOwner": "SELLER",
                            "manufacturingLotCode": "xxxxxxxxx",
                            "msku": "xxxxxxxxx",
                            "prepOwner": "SELLER",
                            "quantity": 100
                        }
                    ]
                }
            ]
        }
    ]

Response:

{
    "errors": [
        {
            "code": "BadRequest",
            "message": "ERROR: Package group pg1704a326-792e-4b4f-803c-0c0ab9ad07f4 did not contain expected items and/or quantities.",
            "details": "Problem item quantities: Item(msku=xxxxxxxxx, mlc=xxxxxxxxx, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 100, Item(msku=xxxxxxxxx, mlc=xxxxxxxxx, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 100, actual quantity: 0"
        }
    ]
}

Hi xyloneX, Was the create inbound created with prepOwner as Seller or NONE ?

jackj93 commented 3 months ago

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 ?

This issue still has NOT been resolved. It looks like the setPackingInformation API does not correctly read the prepOwner property in persistent storage and assumes AMAZON. I say this because listPackingGroupItems properly returns the items as prepOwner=SELLER Please look into this immediately

Hi jackj93, Can you please provide request and response along with inboundplanID ?

Inbound Plan ID: wf708b891a-427b-4e9f-b12c-33835585e933 Request:

{
  "packageGroupings": [
    {
      "boxes": [
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "dimensions": {
            "height": 56,
            "length": 50,
            "unitOfMeasurement": "CM",
            "width": 42
          },
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "PT-16022-WH12",
              "prepOwner": "SELLER",
              "quantity": 45
            }
          ],
          "quantity": 4,
          "weight": {
            "unit": "KG",
            "value": 16.8
          }
        },
        {
                    "boxId": "FBAPT-16022-BK12",
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "dimensions": {
            "height": 56,
            "length": 50,
            "unitOfMeasurement": "CM",
            "width": 42
          },
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "PT-16022-BK12",
              "prepOwner": "SELLER",
              "quantity": 45
            }
          ],
          "quantity": 4,
          "weight": {
            "unit": "KG",
            "value": 16.8
          }
        }
      ],
      "packingGroupId": "pg0e24b2ac-8855-46e9-9784-7216eb94f03b"
    }
  ]
}

Response:

{
    "errors": [
        {
            "code": "BadRequest",
            "message": "ERROR: Package group pg0e24b2ac-8855-46e9-9784-7216eb94f03b did not contain expected items and/or quantities.",
            "details": "Problem item quantities: Item(msku=PT-16022-WH12, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 180, Item(msku=PT-16022-BK12, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 180, Item(msku=PT-16022-BK12, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 180, actual quantity: 0, Item(msku=PT-16022-WH12, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 180, actual quantity: 0"
        }
    ]
}

The Inbound Plan items are created with prepOwner=SELLER and not NONE nor AMAZON

puppsupr commented 3 months ago

Thanks for the examples. Our team is looking into this.

xyloneX commented 3 months ago

The Inbound Plan items are created with prepOwner=SELLER @puppsupr

emakunin commented 3 months ago

I was trying to test again. The good thing is that the error message became a bit more clear and at least shows expected vs actual items.

However the bad thing is that the expectations are apparently wrong. Plus the message is still a bit confusing.

I tried to create a plan for a single item with no prep required and no packing required (see screenshot). However the operation still fails and expects wrong ifo. It tells that the label&prep owner should be Amazon. image

Request to SP api failed 400 : BadRequest : ERROR: Package group pg613490c4-4734-4a39-ad54-daae86a38cca did not contain expected items and/or quantities. [Problem item quantities: Item(msku=M-FBA, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 20, Item(msku=M-FBA, mlc=null, expiration=null, labelOwner=AMAZON, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 20, actual quantity: 0]

As per STA template I need to pass SELLER for my items. See Screenshot 2024-07-05 at 12 07 19

Follow up API design questions

  1. If you store prep/label ownership information on the item level and enforce the plan to pass the same value, why do you ask for this as createInboundPlan and setPackingInformation input??? If you give an option to select, it should be possible to pass any value, otherwise why do I need to pass this value?
  2. Where should I get the labeling/preparation information for the items? I know it is a manual step according to the docementation (that is quite weird to be honest), but if a listing is created manually how can I know which value I should use if it's not stored/returned ? Reading errors and storing the values in the database for future calls is not super scalable for thousands of items.

amistry007 commented 2 months ago

@puppsupr you can see similar same errors I am getting trying to get the inbound API to work https://github.com/amzn/selling-partner-api-models/issues/551 and https://github.com/amzn/selling-partner-api-models/issues/552.

jackmin-sw commented 2 months ago

@puppsupr when could amazon team fix the issue? the old api in May works before this new release.

amistry007 commented 2 months ago

@puppsupr can we have an acknowledgement that someone is actually looking into this?

wimoor-erp commented 2 months ago

Not all products will have this problem. This error will be received when the product does not use the Seller Center to process Send To Amazon.

emakunin commented 2 months ago

@wimoor-erp

Not all products will have this problem. This error will be received when the product does not use the Seller Center to process Send To Amazon.

But that's the main purpose of the API: to not use SellerCentral UI manually. If you mean that we should set packing details first in STA, then I can say that it does not work as expected. See my previous comment: https://github.com/amzn/selling-partner-api-models/issues/3951#issuecomment-2210664769

shantikolli commented 2 months ago

@puppsupr

any update on this issue? This is taking longer time than expected.

Alvaromero commented 2 months ago

Hi @puppsupr , Could you tell us if anyone from Amazon's technical team is reviewing this?

puppsupr commented 2 months ago

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.

shantikolli commented 2 months ago

@puppsupr

Do you have an update on this? When can we expect this issue/bug to get resolved.

puppsupr commented 2 months ago

Hi, This is on high priority and should be deployed soon. Ill provide an update here once its available.

JuCongBoy commented 2 months ago

May I ask why this problem only occurs in Europe?

hurican commented 2 months ago

@puppsupr Hello, has this issue been resolved? When can it be fixed? We have been waiting.

emakunin commented 2 months ago

Hi @puppsupr, do you have an update? As per Amazon's SLA it's a SEV2+ issue as many customers are blocked with more than million listings affected.

UPD. I was using a workaround by sending the data that amazon actually expects. However for some shipments I get

Request to SP api failed 400 : BadRequest : ERROR: Package group pg53dc84a7-d3fd-41a7-be0e-df25d1ee89a2 did not contain expected items and/or quantities.[Problem item quantities: Item(msku=SKUp1v1-EAN-FBA, mlc=null, expiration=2024-11-28T00:00Z, labelOwner=AMAZON, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 48, Item(msku=SKUp1v3-EAN-FBA, mlc=null, expiration=2024-11-28T00:00Z, labelOwner=AMAZON, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 28, Item(msku=SKU1v3-EAN-FBA, mlc=null, expiration=2024-11-28, labelOwner=AMAZON, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 28, actual quantity: 0, Item(msku=SKUp1v1-EAN-FBA, mlc=null, expiration=2024-11-28, labelOwner=AMAZON, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 48, actual quantity: 0]

So basically amazon says me: you should send me A=B, but you've sent A=B. (note: the only difference is in the expiration time format.But it's amazon error formating. I'm sure I send it like "2024-11-28".

amistry007 commented 2 months ago

@puppsupr you updated this ticket 2 weeks ago and still we have no further update. Please can you keep us informed on progress on this and when we can expect this to be fixed. Not sure how you expect your users to plan their workload when you provide such bad communication.

puppsupr commented 2 months ago

Hi All, The issue have been fixed and deployed. Can you please check and let us know if the issue still occurs.

andyslack commented 2 months ago

Im getting the same error just now:

inboundPlanId wf3bea287f-192e-4b86-aeeb-ccaf1b1bc685

[
  {
    "destinationMarketplaces": [
      "ATVPDKIKX0DER"
    ],
    "name": "TT-PILLS-2024-07-29",
    "items": [
      {
        "expiration": "2026-06-30",
        "labelOwner": "NONE",
        "manufacturingLotCode": "2301258",
        "msku": "TT-PILLS",
        "prepOwner": "SELLER",
        "quantity": 168
      }
    ],
    "sourceAddress": {
      "addressLine1": "4051 N Hwy 121",
      "addressLine2": "STE 400",
      "city": "Grapevine",
      "companyName": "ShipBob, Inc.",
      "countryCode": "US",
      "email": "support@shipbob.com",
      "name": "ShipBob, Inc.",
      "phoneNumber": "8444744726",
      "postalCode": "76051",
      "stateOrProvinceCode": "TX"
    }
  }
]

Request:

[
  {
    "packageGroupings": [
      {
        "boxes": [
          {
            "contentInformationSource": "BOX_CONTENT_PROVIDED",
            "dimensions": {
              "height": 10,
              "length": 8,
              "width": 5,
              "unitOfMeasurement": "IN"
            },
            "weight": {
              "unit": "LB",
              "value": 2
            },
            "quantity": 14,
            "items": [
              {
                "expiration": "2026-06-30",
                "labelOwner": "NONE",
                "manufacturingLotCode": "2301258",
                "msku": "TT-PILLS",
                "prepOwner": "SELLER",
                "quantity": 12
              }
            ]
          }
        ],
        "packingGroupId": "pgbfe581f3-53ce-4eea-bb98-7493aa9e36a6"
      }
    ]
  }
]

Response:

{
   "errors":[
      {
         "code":"BadRequest",
         "message":"ERROR: Package group pgbfe581f3-53ce-4eea-bb98-7493aa9e36a6 did not contain expected items and/or quantities.",
         "details":"Problem item quantities: Item(msku\u003dTT-PILLS, mlc\u003d2301258, expiration\u003d2026-06-30T00:00Z, labelOwner\u003dNONE, prepOwner\u003dSELLER, isQtyKnown\u003dtrue): expected quantity: 0, actual quantity: 168, Item(msku\u003dTT-PILLS, mlc\u003d2301258, expiration\u003d2026-06-30, labelOwner\u003dNONE, prepOwner\u003dSELLER, isQtyKnown\u003dtrue): expected quantity: 168, actual quantity: 0"
      }
   ]
}
puppsupr commented 2 months ago

Hi @andyslack, Thanks for the update. Will take this to our product team.

dishcheng commented 2 months ago

Hi All, The issue have been fixed and deployed. Can you please check and let us know if the issue still occurs.

When I createInboundPlan , I set prepOwner='SELLER', however I got error msg like

ERROR: QF-XXXX-XXXX does not require prepOwner but SELLER was assigned. Accepted values: [NONE]

So how can I get prepOwner value by api?

amistry007 commented 2 months ago

@puppsupr I'm still getting the same error:

inboundPlanId wff4e4b350-eb33-4f52-94a2-edbfcb4574df

{
  "destinationMarketplaces": [
    "ATVPDKIKX0DER"
  ],
  "items": [
    {
      "labelOwner": "SELLER",
      "msku": "BXXXX-SKU-V1",
      "prepOwner": "SELLER",
      "quantity": 56,
      "expiration": "2026-07-31"
    }
  ],
  "sourceAddress": {
    "addressLine1": "10343 Misc Address",
    "city": "Warm Springs",
    "countryCode": "US",
    "name": "Joe Bloggs",
    "phoneNumber": "+44 7965 343434",
    "postalCode": "54484",
    "addressLine2": "",
    "companyName": "Joe Blogs Inc",
    "email": "info@bloggs.com",
    "stateOrProvinceCode": "VA"
  },
  "name": "TEST-20240702-US-BAC-POSTMAN-V11"
}

REQUEST

{
  "packageGroupings": [
    {
      "boxes": [
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "dimensions": {
            "height": 8.7,
            "length": 15.4,
            "unitOfMeasurement": "IN",
            "width": 10.2
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 19
          },
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "BXXXX-SKU-V1",
              "prepOwner": "SELLER",
              "quantity": 56,
              "expiration": "2026-07-31"
            }
          ]
        }
      ],
      "packingGroupId": "pg79371865-4b54-4fe0-9973-073fe5d800a0"
    }
  ]
}

RESPONSE

{
    "errors": [
        {
            "code": "BadRequest",
            "message": "ERROR: Package group pg79371865-4b54-4fe0-9973-073fe5d800a0 did not contain expected items and/or quantities.",
            "details": "Problem item quantities: Item(msku=BXXXX-SKU-V1, mlc=null, expiration=2026-07-31T00:00Z, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 0, actual quantity: 56, Item(msku=BXXXX-SKU-V1, mlc=null, expiration=2026-07-31, labelOwner=SELLER, prepOwner=SELLER, isQtyKnown=true): expected quantity: 56, actual quantity: 0"
        }
    ]
}
miraemor commented 2 months ago

@puppsupr same for me. InboundPlanId: wfc8753282-d00a-449c-bff4-bd41a5257bca Here is one of packing group request models

{
  "packageGroupings": [
    {
      "boxes": [
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "NONE",
              "msku": "***-58311",
              "prepOwner": "AMAZON",
              "quantity": 18
            },
            {
              "labelOwner": "SELLER",
              "msku": "***-58334",
              "prepOwner": "AMAZON",
              "quantity": 18
            },
            {
              "labelOwner": "NONE",
              "msku": "***-58343",
              "prepOwner": "AMAZON",
              "quantity": 12
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-55012",
              "prepOwner": "AMAZON",
              "quantity": 12
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-VG250",
              "prepOwner": "AMAZON",
              "quantity": 24
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-C1050",
              "prepOwner": "AMAZON",
              "quantity": 30
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-C1050",
              "prepOwner": "AMAZON",
              "quantity": 30
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-C1050",
              "prepOwner": "AMAZON",
              "quantity": 30
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-C1050",
              "prepOwner": "AMAZON",
              "quantity": 30
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-C1050",
              "prepOwner": "AMAZON",
              "quantity": 30
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-C1050",
              "prepOwner": "AMAZON",
              "quantity": 30
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-JFS152",
              "prepOwner": "AMAZON",
              "quantity": 24
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-VG250",
              "prepOwner": "AMAZON",
              "quantity": 12
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-VM125",
              "prepOwner": "AMAZON",
              "quantity": 24
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-PS-101-4PK",
              "prepOwner": "AMAZON",
              "quantity": 36
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-PS-101-4PK",
              "prepOwner": "AMAZON",
              "quantity": 24
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-PS-104",
              "prepOwner": "AMAZON",
              "quantity": 36
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-PS-106-2PK",
              "prepOwner": "AMAZON",
              "quantity": 36
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-76-517",
              "prepOwner": "AMAZON",
              "quantity": 15
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-76-517",
              "prepOwner": "AMAZON",
              "quantity": 15
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-76-517",
              "prepOwner": "AMAZON",
              "quantity": 15
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-76-517",
              "prepOwner": "AMAZON",
              "quantity": 15
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-76-517",
              "prepOwner": "AMAZON",
              "quantity": 15
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-VM125",
              "prepOwner": "AMAZON",
              "quantity": 9
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-PS-101-12PK",
              "prepOwner": "AMAZON",
              "quantity": 12
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-PS-101-10PK",
              "prepOwner": "AMAZON",
              "quantity": 12
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "SELLER",
              "msku": "***-PS-101-3PK",
              "prepOwner": "AMAZON",
              "quantity": 24
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "labelOwner": "NONE",
              "msku": "***-2203-20",
              "prepOwner": "AMAZON",
              "quantity": 24
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        },
        {
          "contentInformationSource": "BOX_CONTENT_PROVIDED",
          "items": [
            {
              "expiration": "2027-06-06",
              "labelOwner": "SELLER",
              "msku": "***-PS-106",
              "prepOwner": "AMAZON",
              "quantity": 12
            }
          ],
          "dimensions": {
            "height": 7.00,
            "length": 17.00,
            "unitOfMeasurement": "IN",
            "width": 13.00
          },
          "quantity": 1,
          "weight": {
            "unit": "LB",
            "value": 20.00
          }
        }
      ],
      "packingGroupId": "pgcb5532c2-5fbf-422e-8e84-304ed8462366"
    }
  ]
}

And error message (formatted it a bit to group items together)

ERROR: Package group pgcb5532c2-5fbf-422e-8e84-304ed8462366 did not contain expected items and/or quantities.
Problem item quantities: 

Item(msku=***-C1050, mlc=null, expiration=2027-06-06T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 180, 
Item(msku=***-C1050, mlc=null, expiration=2027-06-06, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 180, actual quantity: 0, 

Item(msku=***-50-293, mlc=null, expiration=null, labelOwner=NONE, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 32, 
Item(msku=***-50-293, mlc=null, expiration=null, labelOwner=NONE, prepOwner=NONE, isQtyKnown=true): expected quantity: 32, actual quantity: 0

Problem item quantities: 
Item(msku=***-58311, mlc=null, expiration=null, labelOwner=NONE, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 18, 
Item(msku=***-58311, mlc=null, expiration=null, labelOwner=NONE, prepOwner=NONE, isQtyKnown=true): expected quantity: 18, actual quantity: 0, 

Item(msku=***-58334, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 18, 
Item(msku=***-58334, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 18, actual quantity: 0, 

Item(msku=***-58343, mlc=null, expiration=null, labelOwner=NONE, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 12, 
Item(msku=***-58343, mlc=null, expiration=null, labelOwner=NONE, prepOwner=NONE, isQtyKnown=true): expected quantity: 12, actual quantity: 0, 

Item(msku=***-55012, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 12, 
Item(msku=***-55012, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 12, actual quantity: 0, 

Item(msku=***-VG250, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 36, 
Item(msku=***-VG250, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 36, actual quantity: 0, 

Item(msku=***-JFS152, mlc=null, expiration=2027-06-06T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 24, 
Item(msku=***-JFS152, mlc=null, expiration=2027-06-06, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 24, actual quantity: 0, 

Item(msku=***-VM125, mlc=null, expiration=2027-06-06T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 33, 
Item(msku=***-VM125, mlc=null, expiration=2027-06-06, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 33, actual quantity: 0, 

Item(msku=***-PS-101-4PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 60, 
Item(msku=***-PS-101-4PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 60, actual quantity: 0, 

Item(msku=***-PS-104, mlc=null, expiration=2027-06-06T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 36, 
Item(msku=***-PS-104, mlc=null, expiration=2027-06-06, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 36, actual quantity: 0, 

Item(msku=***-PS-106-2PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 36, 
Item(msku=***-PS-106-2PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 36, actual quantity: 0, 

Item(msku=***-76-517, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 75, 
Item(msku=***-76-517, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 75, actual quantity: 0, 

Item(msku=***-PS-101-12PK, mlc=null, expiration=2027-06-06T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 12, 
Item(msku=***-PS-101-12PK, mlc=null, expiration=2027-06-06, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 12, actual quantity: 0

Item(msku=***-PS-101-10PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 12, 
Item(msku=***-PS-101-10PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 12, actual quantity: 0, 

Item(msku=***-PS-101-3PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 24,
Item(msku=***-PS-101-3PK, mlc=null, expiration=null, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 24, actual quantity: 0, 

Item(msku=***-2203-20, mlc=null, expiration=null, labelOwner=NONE, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 24, 
Item(msku=***-2203-20, mlc=null, expiration=null, labelOwner=NONE, prepOwner=NONE, isQtyKnown=true): expected quantity: 24, actual quantity: 0, 

Item(msku=***-PS-106, mlc=null, expiration=2027-06-06T00:00Z, labelOwner=SELLER, prepOwner=AMAZON, isQtyKnown=true): expected quantity: 0, actual quantity: 12, 
Item(msku=***-PS-106, mlc=null, expiration=2027-06-06, labelOwner=SELLER, prepOwner=NONE, isQtyKnown=true): expected quantity: 12, actual quantity: 0, 

There were total 3 packing groups but this was smallest one. And also there is huge mess with prep and label owner, but will post it to another thread