univoozAPI
Errors

delivery_before_pickup

The delivery time is earlier than the pickup time.

HTTP 422invalid_request_error

In "mode": "exact" you send both times. They must be in the correct sequence.

Why it happens

deliveryTime is earlier than pickupTime. Usually one of the two times has the wrong date or the wrong offset.

Univooz accepts two equal times. The result is a window with no length. If your code can make two equal times, no error will show this to you.

How to fix it

Put the times in sequence, and give the courier sufficient time:

{
  "mode": "exact",
  "pickupTime": "2026-07-29T14:00:00+02:00",
  "deliveryTime": "2026-07-29T15:00:00+02:00"
}

If only the deadline is important, use deliver_by. Univooz then calculates the pickup time, and the two times cannot disagree.

Example response

{
  "error": {
    "type": "invalid_request_error",
    "code": "delivery_before_pickup",
    "message": "The delivery time is before the pickup time.",
    "param": "schedule.deliveryTime",
    "doc_url": "https://docs.univooz.com/errors/delivery_before_pickup",
    "request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
  }
}

On this page