Errors
invalid_api_key
The request had no API key, or a key we do not know.
HTTP 401authentication_error
Why it happens
- There is no
Authorizationheader. - The header does not use the
Bearerprefix. - The key is incomplete, because the copy was not complete.
- The key is not a Univooz key.
How to fix it
Send the header in this form:
Authorization: Bearer uv_live_YOUR_KEYYou see the secret one time only, when you make the key. If you did not keep it, make a new key in Developers → API keys and revoke the old one.
Do not try again with the same key. The result does not change.
Example response
{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "No valid API key provided.",
"doc_url": "https://docs.univooz.com/errors/invalid_api_key",
"request_id": "req_01KZCCF8ZH4M7XQ2VB9RSTNPKD"
}
}