Problem

When trying to create DHL shipping labels, this error occurs:


Es handelt sich um eine ungültige Postleitzahl. Bitte verwenden Sie das Format 99999. Die eingegebene Adresse ist nicht leitcodierbar.


Translation to English:


The ZIP code is not valid. Please use the format 99999. The address is not codeable.


Cause

DHL has checked the address did not find a valid ZIP code. This can refer to the sender or the receiver address.


Solution

Check the sender address in the Magento configuration, and the receiver address in the order details, and correct any mistakes in the addresses.


Please note:

  • It is important to always use correct, valid addresses (also in test/sandbox mode).
  • DHL validates the addresses, which means the ZIP code must be correct for the city and street name, the house number must exist, etc.
  • The log file of the module also shows which addresses were actually transmitted to DHL.

Please note

If the address is definitely correct and the logs also shows that the information sent to DHL is 100% error free, please get in touch with DHL and report the problem. In this case, the problem is not in the Magento module.