Problem
I have tried printing a DPD shipping label and am seeing an error returned:
Error: 1038: HS code is prohibited (consignment.parcel.parcelProduct.productHarmonisedCode)
Solution
The error means that the tariff code that is present for some order item(s) is prohibited for this specific destination country.
Please check the following link for restricted Hs codes per each country:
https://www.dpd.co.uk/pdf/items-not-accepted-for-eu-export-6april.pdf
If the code is not found in this file, please contact technical support for further guidance.