missing_postal_code
The country requires a postcode and none was given
The operator treats the postal code as mandatory and the address does not carry one.
- appears in
- reason
- credits
- Free. An address that cannot stand as written never costs a credit.
What it means
Where the postcode is required it is what sorts the item, so an address without one is incomplete however precise the rest of it is.
Spaw takes the postcode out of the line that carries it, from whichever end that country writes it, or reads the `postal_code` field. A postcode typed into the town line in an unusual position can be missed: send it separately when you hold it separately.
What to do
Fill in `postal_code`. A directory-covered country can supply it from the rest of the address only where a licensed address-list partner is configured; Spaw never invents one.
Example response
{
"valid": false,
"reason": "missing_postal_code",
"country": "GB",
"postal_code": null,
"locality": "London",
"risk_score": null
}Abbreviated: a real answer carries all 33 fields, listed in the validate-phone reference.
Related
- empty_address · nothing in the request was an address
- unknown_country · no postal format is published for that country
- missing_street · the country requires a street line and none was found
- missing_locality · a country with no postcode to name the town was given neither
- missing_administrative_area · a country with no postcodes needs the state or province
- invalid_postal_code · the postcode is not the shape that country uses
- postcode_not_found · the postcode is well formed but is not in the directory
- All verdict reasons
- Phone fields and the risk score
- API reference
markdown version: /docs/reasons/missing_postal_code.md