univoozAPI
Errors

branch_not_found

No branch of yours has that reference or id.

HTTP 422invalid_request_error

Why it happens

  • The reference has a spelling mistake.
  • The letter case is different. Univooz compares references exactly. noerrebro and Noerrebro are two different references.
  • The branch is in a different organization. Univooz does not tell you this, so the result is the same.
  • You sent a UUID that is not one of your branch ids. Univooz reads all UUIDs as ids.

Univooz removes spaces at the start and the end, so a space is not the cause.

How to fix it

Get the correct values and use them exactly:

curl https://api.univooz.com/v1/branches \
  -H "Authorization: Bearer uv_live_YOUR_KEY"

A branch with no reference returns reference: null. Use its id.

GET /v1/orders?branch= also returns this error when nothing matches. Univooz rejects the filter instead of returning an empty page, because a spelling mistake and a quiet week look the same.

Example response

{
  "error": {
    "type": "invalid_request_error",
    "code": "branch_not_found",
    "message": "No branch found with reference 'noerebro'.",
    "param": "branch",
    "doc_url": "https://docs.univooz.com/errors/branch_not_found",
    "request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
  }
}

On this page