univoozAPI
Errors

test_mode_required

You called a test endpoint with a live key.

HTTP 403authentication_error

Your key is correct. This endpoint works only in test mode.

Why it happens

One endpoint is for test mode only:

POST /v1/test/orders/{reference}/advance

Why there is no live version. A live order changes status because a courier did something. No API call can say that for the courier.

How to fix it

Use a uv_test_ key, and a test order.

No field in the request can change the mode. The prefix of the key decides what the key can do.

Example response

{
  "error": {
    "type": "authentication_error",
    "code": "test_mode_required",
    "message": "This endpoint requires a test-mode API key.",
    "doc_url": "https://docs.univooz.com/errors/test_mode_required",
    "request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
  }
}

On this page