• Hello DHL Dev Team,

    We get the following error when creating the DHL label: “Could not create label – you can not send from the sender country ..”

    The sender country, however, was set at all possible fields.

    Here is the associated log:

    09-19-2019 @ 12:20:33 – GET URL: https://cig.dhl.de/services/production/rest/checkout/27404/availableServices?startDate=2019-09-19
    09-19-2019 @ 12:20:33 – GET Response Code: 200
    09-19-2019 @ 12:20:33 – GET Response Body: stdClass Object
    (
    [preferredLocation] => stdClass Object
    (
    [available] => 1
    )

    [preferredNeighbour] => stdClass Object
    (
    [available] => 1
    )

    [preferredDay] => stdClass Object
    (
    [available] => 1
    [validDays] => Array
    (
    [0] => stdClass Object
    (
    [start] => 2019-09-21T00:00:00.000+02:00
    [end] => 2019-09-21T23:59:59.999+02:00
    )

    [1] => stdClass Object
    (
    [start] => 2019-09-23T00:00:00.000+02:00
    [end] => 2019-09-23T23:59:59.999+02:00
    )

    [2] => stdClass Object
    (
    [start] => 2019-09-24T00:00:00.000+02:00
    [end] => 2019-09-24T23:59:59.999+02:00
    )

    [3] => stdClass Object
    (
    [start] => 2019-09-25T00:00:00.000+02:00
    [end] => 2019-09-25T23:59:59.999+02:00
    )

    [4] => stdClass Object
    (
    [start] => 2019-09-26T00:00:00.000+02:00
    [end] => 2019-09-26T23:59:59.999+02:00
    )

    [5] => stdClass Object
    (
    [start] => 2019-09-27T00:00:00.000+02:00
    [end] => 2019-09-27T23:59:59.999+02:00
    )

    )

    )

    [preferredTime] => stdClass Object
    (
    [available] =>
    [timeframes] => Array
    (
    )

    )

    [inCarDelivery] => stdClass Object
    (
    [available] => 1
    )

    [sameDayDelivery] => stdClass Object
    (
    [available] =>
    [sameDayTimeframes] => Array
    (
    )

    )

    [noNeighbourDelivery] => stdClass Object
    (
    [available] => 1
    )

    )

    09-19-2019 @ 12:20:34 – GET URL: https://cig.dhl.de/services/production/rest/checkout/27404/availableServices?startDate=2019-09-19
    09-19-2019 @ 12:20:34 – GET Response Code: 200
    09-19-2019 @ 12:20:34 – GET Response Body: stdClass Object
    (
    [preferredLocation] => stdClass Object
    (
    [available] => 1
    )

    [preferredNeighbour] => stdClass Object
    (
    [available] => 1
    )

    [preferredDay] => stdClass Object
    (
    [available] => 1
    [validDays] => Array
    (
    [0] => stdClass Object
    (
    [start] => 2019-09-21T00:00:00.000+02:00
    [end] => 2019-09-21T23:59:59.999+02:00
    )

    [1] => stdClass Object
    (
    [start] => 2019-09-23T00:00:00.000+02:00
    [end] => 2019-09-23T23:59:59.999+02:00
    )

    [2] => stdClass Object
    (
    [start] => 2019-09-24T00:00:00.000+02:00
    [end] => 2019-09-24T23:59:59.999+02:00
    )

    [3] => stdClass Object
    (
    [start] => 2019-09-25T00:00:00.000+02:00
    [end] => 2019-09-25T23:59:59.999+02:00
    )

    [4] => stdClass Object
    (
    [start] => 2019-09-26T00:00:00.000+02:00
    [end] => 2019-09-26T23:59:59.999+02:00
    )

    [5] => stdClass Object
    (
    [start] => 2019-09-27T00:00:00.000+02:00
    [end] => 2019-09-27T23:59:59.999+02:00
    )

    )

    )

    [preferredTime] => stdClass Object
    (
    [available] =>
    [timeframes] => Array
    (
    )

    )

    [inCarDelivery] => stdClass Object
    (
    [available] => 1
    )

    [sameDayDelivery] => stdClass Object
    (
    [available] =>
    [sameDayTimeframes] => Array
    (
    )

    )

    [noNeighbourDelivery] => stdClass Object
    (
    [available] => 1
    )

    )

    09-19-2019 @ 10:21:18 – “createShipmentOrder” called with: Array
    (
    [Version] => Array
    (
    [majorRelease] => 2
    [minorRelease] => 2
    )

    [ShipmentOrder] => Array
    (
    [sequenceNumber] => 6728
    [Shipment] => Array
    (
    [ShipmentDetails] => Array
    (
    [product] => V01PAK
    [accountNumber] => XXXXXXXXXXXXX (accountNumber has been deleted)
    [shipmentDate] => 2019-09-19
    [ShipmentItem] => Array
    (
    [weightInKG] => 8.4
    )

    )

    [Shipper] => Array
    (
    [Name] => Array
    (
    [name1] => Peter Mustermann
    )

    [Address] => Array
    (
    [streetName] => Moningerstraße
    [streetNumber] => 4
    [zip] => 76135
    [city] => Karlsruhe
    [Origin] => Array
    (
    [countryISOCode] => DE
    [state] => Deutschland
    )

    )

    [Communication] => Array
    (
    [email] => [email protected]
    )

    )

    [Receiver] => Array
    (
    [name1] => Testfirma
    [Address] => Array
    (
    [name2] => Peter Mustermann
    [streetName] => Lange Str. 40
    [streetNumber] => Company Name
    [zip] => 27404
    [city] => Zeven
    [Origin] => Array
    (
    [countryISOCode] => DE
    )

    )

    [Communication] => Array
    (
    [email] => [email protected]
    )

    [Postfiliale] => Array
    (
    [postNumber] =>
    )

    )

    )

    [labelResponseType] => B64
    )

    )

    09-19-2019 @ 10:21:18 – Response: Successful

    I hope you can help us.

Viewing 1 replies (of 1 total)
  • Plugin Author Progressus

    (@shadim)

    Can we continue this conversation via email, please contact me at “dhlsupport [at] progressusmarketing.com”

Viewing 1 replies (of 1 total)

The topic ‘Could not create label’ is closed to new replies.