Errors
address_low_confidence
A real place, but the position is not accurate.
HTTP 422invalid_request_error
Univooz found the address, but not accurately.
Univooz accepts two levels of accuracy: the exact building, or a position calculated between two house numbers. It rejects all other results.
Why it happens
The address is a real place with an approximate position. Example: a street with no house number, or a new building that the map does not have.
An address in a different country now gives
address_not_found, not this code.
How to fix it
Send coordinates. Univooz uses them and does no search:
{
"customer": {
"address": {
"street": "Sortedam Dossering 55",
"city": "Copenhagen",
"postcode": "2100",
"coordinates": { "latitude": 55.6928, "longitude": 12.5701 }
}
}
}If you have no coordinates, make the address more accurate. Usually the house number is missing.
Example response
{
"error": {
"type": "invalid_request_error",
"code": "address_low_confidence",
"message": "The address resolved only to an approximate location.",
"param": "customer.address",
"doc_url": "https://docs.univooz.com/errors/address_low_confidence",
"request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
}
}