View Categories

Canada Post – Origin-postal-code is not a valid instance of type

Canada Post Live Rates: /rs/ship/price: cvc-simple-type 1: element {http://www.canadapost.ca/ws/ship/rate-v4}origin-postal-code is not a valid instance of type {http://www.canadapost.ca/ws/ship/rate-v4}PostalCodeType. Value is '10001'

Canada Post Common Problems And Troubleshooting Origin Postal Code

The XML validation message shown below comes from Legacy API. REST API errors can use different wording, but the shipment still needs a valid Canadian origin postal code.

Check the address actually used to calculate rates. The plugin normally uses WooCommerce → Settings → General → Store Address. If Custom Origin is enabled in the global Canada Post settings, check that address instead. In PRO, an origin set for the individual shipping method takes priority over the global origin.

For REST diagnostics, review originPostalCode in the request. See General Settings and REST API troubleshooting.

Scroll to Top