Carrier - Correos Spain Troubleshooting Tips
Overview
If you are receiving an error messages related to the Correos Spain shipments, the article provides the troubleshooting tips to help you resolve the issues.
Error messages
The user does not have the contract/detailable associated
What does it mean
The error indicates that your contract is not associated with AfterShip for label generation.
How to solve
Please follow the developer guide to make the association with Correos Spain team.
Error messages
There is no labeller code for that contract/detailable
What does it mean
The error indicates that your labeller code is probably wrong for provided contract.
How to solve
Please ensure you have input all the credentials: Labeller code
, Client number
and Contract number
with correct value. If you have any questions, contact your Correos Spain sales person.
Error messages
Invalid province
Invalid admission province
What does it mean
The error indicates that your address state is wrong. It could be either ship from address or ship to address.
How to solve
Please double check your address and ensure the state value falls into Correos Spain province list: https://anypoint.mulesoft.com/exchange/portals/sociedad-estatal-correos/c6c3f076-c4b3-41bc-bef8-7f60e7c93885/preregister/minor/1.3/pages/wgt-247/ANNEX%20V.%20PROVINCE%20TABLE%20%7C%20EN/
If you're not sure about the state of Spain, Correos Spain allows to leave the state empty for label generation, but please ensure your other information is correct to avoid any delivery failures.
Error messages
Postal code does not match sender province
What does it mean
The error indicates that your ship from postal code doesn't match the state. The possible reason is the state is wrong.
How to solve
Please double check your address and ensure the state value falls into Correos Spain province list: https://anypoint.mulesoft.com/exchange/portals/sociedad-estatal-correos/c6c3f076-c4b3-41bc-bef8-7f60e7c93885/preregister/minor/1.3/pages/wgt-247/ANNEX%20V.%20PROVINCE%20TABLE%20%7C%20EN/.
Then ensure your postal code and state is matched.
If you're not sure about the state of Spain, Correos Spain allows to leave the state empty for label generation, but please ensure your other information is correct to avoid any delivery failures.
Error messages
Postal code does not match addressee province
What does it mean
The error indicates that your ship to postal code doesn't match the state. The possible reason is the state is wrong.
How to solve
Please double check your address and ensure the state value falls into Correos Spain province list: https://anypoint.mulesoft.com/exchange/portals/sociedad-estatal-correos/c6c3f076-c4b3-41bc-bef8-7f60e7c93885/preregister/minor/1.3/pages/wgt-247/ANNEX%20V.%20PROVINCE%20TABLE%20%7C%20EN/.
Then ensure your postal code and state is matched.
If you're not sure about the state of Spain, Correos Spain allows to leave the state empty for label generation, but please ensure your other information is correct to avoid any delivery failures.
If you have any further questions, feel free to contact our support team via live chat or email us at support+shipping@aftership.com.
Updated on: 17/09/2025