# Fehlermeldung: The order line item has invalid custom information configured. Error: the given country code is invalid

**URL:** https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205
**Category:** Administration
**Created:** [6. Juni 2024 um 07:11 UTC](https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205 "2024-06-06T07:11:25Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![m23](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/m23/32/13275_2.png) [@m23](https://forum.shopware.com/u/m23)
#### Post date: [6. Juni 2024 um 07:11 UTC](https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205/1 "2024-06-06T07:11:25Z")

</div>

> The order line item „Produktname“ has invalid custom information configured in its respective products custom fields. Error: the given country code „“ is invalid. Please provide a valid ISO 3166-1 alpha-2 country code.

Erscheint beim Erstellen eines DHL-Labels. Verstehe den Zusammenhang nicht wirklich. Was hat ein Produkt mit einem Ländercode für den Versand zu tun? Kann mir da jemand weiterhelfen?

---

<div class="post-metadata">

### Author: ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)
#### Post date: [6. Juni 2024 um 10:01 UTC](https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205/2 "2024-06-06T10:01:04Z")

</div>

Muss da irgendwas in den Zusatzfeldern konfiguriert werden? Verstehe sonst den Zusammenhang zwischen Produkt, Zusatzfeldern und Ländercode nicht.

---

<div class="post-metadata">

### Author: ![m23](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/m23/32/13275_2.png) [@m23](https://forum.shopware.com/u/m23)
#### Post date: [6. Juni 2024 um 19:34 UTC](https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205/3 "2024-06-06T19:34:25Z")

</div>

Das Produkt hat ja keine Felder, die sich auf den Country-Code beziehen. Daher ist der Fehler für mich nicht nachvollziehbar.

---

<div class="post-metadata">

### Author: ![Anotherone](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@Anotherone](https://forum.shopware.com/u/Anotherone)
#### Post date: [6. Juni 2024 um 19:49 UTC](https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205/4 "2024-06-06T19:49:14Z")

</div>

Naja es geht um die Custom fields (Zusatzfelder), die sind ja frei definierbar. Deswegen die Frage, ob da vom Plugin was in diese Richtung passiert.

---

<div class="post-metadata">

### Author: ![m23](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/m23/32/13275_2.png) [@m23](https://forum.shopware.com/u/m23)
#### Post date: [6. Juni 2024 um 20:08 UTC](https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205/5 "2024-06-06T20:08:56Z")

</div>

Keine Ahnung, das ist ein normales Produkt. Die Lieferung ist innerhalb Deutschlands.  
Bei den Produkten gibt es 4 Zusatzfelder: Beschreibung, Zolltarifnummer, Herkunftsland und Fallback Zollwert. Alles keine Pflichtfelder und auch irrelevant für den Shop, da nicht ins Ausland versendet wird.

---

<div class="post-metadata">

### Author: ![drakon](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/drakon/32/7724_2.png) [@drakon](https://forum.shopware.com/u/drakon)
#### Post date: [6. Juni 2024 um 20:21 UTC](https://forum.shopware.com/t/fehlermeldung-the-order-line-item-has-invalid-custom-information-configured-error-the-given-country-code-is-invalid/104205/6 "2024-06-06T20:21:37Z")

</div>

Das ist IMHO ein Fehler der Pickware-Versandplugins, der mit dem jüngsten Update behoben wurde.
