> ## Documentation Index
> Fetch the complete documentation index at: https://docs.viviai.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Why am I getting 401 or 403?

* **401:** Check your API key, extra whitespace, and authentication headers.
* **403:** Check your account, token, and model permissions.

Read the error body for the specific cause. For header formats, see [Where do I put my API key for each protocol?](https://docs.viviai.cc/en/help/api-key.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.