Scenario
I have tried printing a (New) Amazon Shipping label and I am seeing an error returned:
InvalidInput: Invalid input 1 validation error detected: Value at 'shipFrom.phoneNumber' failed to satisfy constraint: Member must have length greater than or equal to 1
OR
Error: InvalidInput: Invalid input 1 validation error detected: Value '0' at 'packages.1.member.items.1.member.quantity' failed to satisfy constraint: Member must have value greater than or equal to 1
Solution
This error is being returned because vital information is missing on the integration level or the Order level.
Based on the data in the message, the following solutions should be checked per case:
- If an error message has shipFrom (Value at 'shipFrom.phoneNumber' failed) value mentioned in the text:
The message indicates that the Pickup Address has empty values and this can be fixed on the integration level. Go to Shipping > Integrations > (New) Amazon Shipping > Config > and make sure that the Pickup Address has all the boxes populated with the required values:
- If an error message mentions items and quantity (Value '0' at 'packages.1.member.items.1.member.quantity' failed to satisfy constraint) in the text:
The message indicates that the item on the Order has no quantity specified and this can be fixed on the order level. Go to Shipping > Open Orders (New) > click on the Order ID in question > check that the item has a quantity greater than zero.
If the error message will still be present, feel free to contact Linnworks Technical Support!