When creating shipping labels with your UPS account, if you receive the following error when trying to create a label:
Missing or invalid ship from StateProvinceCode
This is because the State field for your Ship From Location is missing or incorrect.
To resolve this issue, you'll need to add the ISO 3166 region code in the State field of your Ship From Location. See the official ISO website for a complete list of available values.
Edit the Ship From Location
Go to your Account Settings (the wrench icon in the upper right).
Next, select Shipping and then Ship From Locations from the sidebar on the left.
Click Edit next to the Ship From Location which is triggering the error.
Update the State field with the appropriate ISO 3166 code.