Carrier - New Zealand Post Troubleshooting Tips
data.shipment.ship_to address is invalid
data.shipment.ship_to is too long, maximum length is 40
data.shipment.ship_from address is invalid
The recipient's address is incorrect of your shipment.
In general, our response will include the suggestion address, such as data.shipment.ship_to.address is invalid, the correct address might be 133 MAIN STREET, METHVEN ... ... Please update your ship_to address and try again, you can use the suggestion address to retry.
If you're uncertain about the validity of the address, you can use a service like https://www.nzpost.co.nz/tools/address-postcode-finder to verify its correctness.
For the admin UI
Correct the Recipient address information of the order.

For the API
Correct the shipment.ship_to address information of the payload.

The length of street1 + street2 of the recipient's address exceeds 40.
If you're uncertain about the validity of the address, you can use a service like https://www.nzpost.co.nz/tools/address-postcode-finder to verify its correctness.
The shipper's address is incorrect of your shipment.
In general, our response will include the suggestion address, such as data.shipment.ship_from.address is invalid, the correct address might be 133 MAIN STREET, METHVEN ... ... Please update your ship_from address and try again, you can use the suggestion address to retry.
If you're uncertain about the validity of the address, you can use a service like https://www.nzpost.co.nz/tools/address-postcode-finder to verify its correctness.
For the admin UI
Correct the Ship from address information of the order.

For the API
Correct the shipment.ship_from address information of the payload.

data.shipment.ship_to is too long, maximum length is 40
data.shipment.ship_from address is invalid
data.shipment.ship_to address is invalid
What it means
The recipient's address is incorrect of your shipment.
How to solve
In general, our response will include the suggestion address, such as data.shipment.ship_to.address is invalid, the correct address might be 133 MAIN STREET, METHVEN ... ... Please update your ship_to address and try again, you can use the suggestion address to retry.
If you're uncertain about the validity of the address, you can use a service like https://www.nzpost.co.nz/tools/address-postcode-finder to verify its correctness.
For the admin UI
Correct the Recipient address information of the order.

For the API
Correct the shipment.ship_to address information of the payload.

data.shipment.ship_to is too long, maximum length is 40
What it means
The length of street1 + street2 of the recipient's address exceeds 40.
How to solve
If you're uncertain about the validity of the address, you can use a service like https://www.nzpost.co.nz/tools/address-postcode-finder to verify its correctness.
data.shipment.ship_from address is invalid
What it means
The shipper's address is incorrect of your shipment.
How to solve
In general, our response will include the suggestion address, such as data.shipment.ship_from.address is invalid, the correct address might be 133 MAIN STREET, METHVEN ... ... Please update your ship_from address and try again, you can use the suggestion address to retry.
If you're uncertain about the validity of the address, you can use a service like https://www.nzpost.co.nz/tools/address-postcode-finder to verify its correctness.
For the admin UI
Correct the Ship from address information of the order.

For the API
Correct the shipment.ship_from address information of the payload.

Updated on: 26/09/2023
Thank you!