Scenario


I have tried printing a Deutsche Post shipping label and am seeing an error returned:


Error: contentPieceHsCode: code is invalid


Solution


This error typically occurs if the HS code associated with an item is incorrect. You would need to check the Item's Extended Property value for the HS code and validate it on the appropriate website. 


For a more detailed solution, follow the steps provided in the following article: Shipping - HS code is invalid