Errors
internal_error
A failure occurred in Univooz.
HTTP 500api_error
Your request was correct. Univooz failed to complete it. There is nothing to correct in the request.
How to fix it
Send the request again, with increasing delays. This is one of the few errors on this API where a second attempt is correct. Most other errors give the same result again.
Always send externalOrderId on POST /v1/orders. After a 500 you do not know if
Univooz made the order. With an externalOrderId, a second attempt makes the order one
time, or returns
duplicate_external_order_id. Both results are
safe. Without one, a second attempt can send two couriers.
If the error continues, contact support and give the request_id. It is in the body and in
the Request-Id header.
Example response
{
"error": {
"type": "api_error",
"code": "internal_error",
"message": "An unexpected error occurred.",
"doc_url": "https://docs.univooz.com/errors/internal_error",
"request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
}
}