univoozAPI
Errors

order_not_found

No order of yours, in this mode, has that reference.

HTTP 404invalid_request_error

Why it happens

  • The reference is not correct, or the order does not exist.
  • The order is in the other mode. A uv_test_ key cannot read a live order. A uv_live_ key cannot read a test order.
  • The order belongs to a different organization.

Why all three give 404. A different result would tell you that an order exists when you cannot see it.

How to fix it

Check the mode of the key first. This is the most frequent cause, and the reference does not show it.

Then check the identifier. These endpoints accept the Univooz reference or your externalOrderId:

curl https://api.univooz.com/v1/orders/ORD-260729-LD4Q \
  -H "Authorization: Bearer uv_live_YOUR_KEY"

If a create request had a timeout and you have no reference, use your externalOrderId.

Example response

{
  "error": {
    "type": "invalid_request_error",
    "code": "order_not_found",
    "message": "No order found with reference 'ORD-260729-LD4Q'.",
    "doc_url": "https://docs.univooz.com/errors/order_not_found",
    "request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
  }
}

On this page