Support » Plugin: WooCommerce Deutsche Post Internetmarke » “Destination State” error

  • Resolved altercat



    I often encounter problems when generating shipping labels due to the plugin not picking up the right “state code” from the woocommerce order, or there is some kind of inconsistency somewhere in the process of the data exchange.

    In this particular example, I receive the error message:
    "Internetmarke – Shipment creation failed. Label: Warenpost International XS (EU/USt.) (Harmonized label). Error: items[0].state: Destination state can have between 2 and 20 characters.."

    It’s an order from Spain. The customer has selected the right state, the order details show “Cantabria” but the plugin shows just “S”, which then results in the Portokasse rejecting the purchase because it doesn’t comply with the minimum lenght of two characters.

    Is there an easy fix to this? It’s very annoying because I have to generate such labels manually which is very time consuming.

    Maybe it would be good to have the option of reviewing the data before purchasing the label and be able to amend any of the fields if necessary. Or once the purchase of a label fails, be able to see the specific errors and correct them on the go.

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Drazen Bebic


    Hello @altercat

    I’ll add this is a potential bug. Will be investigated and, if a bug is found, fixed.

    One question: Do you use the standard WooCommerce fields for States?

    Thread Starter altercat


    Thanks @drazenbebic — it’s very annoying because I have to process every order individually when this error pops up.

    Yes, standard Woocommerce fields, I haven’t changed anything there.

    Plugin Support Drazen Bebic



    Alright. Added as an issue. We’ll take a look. If we have any questions, can we contact you via email? If so, please email us at so that I can add your contact info.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.