When sending with DHL, you may see an error stating that a "PersonName" is required, with the full error being something like this:

"Unable to create label Error in parsing request XML:Error: Datatype error: In element 'PersonName' : Value '' with length '0' is less than minimum length facet of '2'.. at line 68, column 37."

There are two main things to check here, the first is the customer name, the second being the sender name.

Customer Name-

To double check the customer name is provided, please find the order on your Shiptheory dashboard and hit "view". Then double check that the customer name has been filled out:


If this hasn't been filled out, please ensure you add the customer name, then re-select the carrier and service at the top and click "create label":



Sender Name-

If the customer name has been filled out, the next thing to check is the sender name. By default, the sender name used will be what is filled out in your shipping location in Shiptheory, this can be found in the "advanced" section of your account dropdown:


If you then ensure that the customer name in this page is filled in:



However, some channels allow you to specify the sender address from them, rather than using the one in Shiptheory. Some of these include Brightpearl, Magento 2, TradeGecko, Shopify and the API. For more information on this, please see here: Shipping From Multiple Addresses

It's important to note that if you specify the sender address from your channel, that will be used instead of the shipping location filled out in Shiptheory. As such, if your sender information is coming from your channel instead, you'll want to make sure to add a sender name to your channel information instead.

If you have any questions or issues from there, please feel free to Contact Support.