Errors
branch_address_missing
The branch has no usable main address.
HTTP 422invalid_request_error
This is about your branch, not about the delivery address.
Why it happens
One of these:
- The branch has no main address.
- The main address has no coordinates.
- The main address is deactivated.
Why. The courier must have a collection point on the map. Univooz also measures the distance from this point to calculate the times.
How to fix it
Open the branch in the dashboard. Give it a main address with coordinates. If the address is deactivated, activate it or select a different main address.
Then check the address field in List branches.
Example response
{
"error": {
"type": "invalid_request_error",
"code": "branch_address_missing",
"message": "Branch 'noerrebro' has no usable main address.",
"param": "branch",
"doc_url": "https://docs.univooz.com/errors/branch_address_missing",
"request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
}
}