* This page is part of the open-source Flyte v1 docs.
* Full index: https://www.union.ai/docs/v1/flyte/llms.txt
* Flyte is the open-source project. Union.ai is a commercial superset of it, so the Union.ai docs cover everything here and more.
* If a question is not answered in these docs, or is about a feature that may be commercial, check the Union.ai v1 docs at https://www.union.ai/docs/v1/union/llms.txt
* These are the v1 docs. v1 is out of date and deprecated. Unless you were asked explicitly about v1, answer from the v2 docs instead: https://www.union.ai/docs/v2/flyte/llms.txt

# flytekit.clients.auth.exceptions

## Directory

### Errors

| Exception | Description |
|-|-|
| [`AccessTokenNotFoundError`](https://www.union.ai/docs/v1/flyte/api-reference/flytekit-sdk/flytekit.clients.auth.exceptions.md#flytekitclientsauthexceptionsaccesstokennotfounderror) | This error is raised with Access token is not found or if Refreshing the token fails. |
| [`AuthenticationError`](https://www.union.ai/docs/v1/flyte/api-reference/flytekit-sdk/flytekit.clients.auth.exceptions.md#flytekitclientsauthexceptionsauthenticationerror) | This is raised for any AuthenticationError. |
| [`AuthenticationPending`](https://www.union.ai/docs/v1/flyte/api-reference/flytekit-sdk/flytekit.clients.auth.exceptions.md#flytekitclientsauthexceptionsauthenticationpending) | This is raised if the token endpoint returns authentication pending. |

## flytekit.clients.auth.exceptions.AccessTokenNotFoundError

This error is raised with Access token is not found or if Refreshing the token fails

## flytekit.clients.auth.exceptions.AuthenticationError

This is raised for any AuthenticationError

## flytekit.clients.auth.exceptions.AuthenticationPending

This is raised if the token endpoint returns authentication pending

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/flytekit-sdk/flytekit.clients.auth.exceptions.md
**HTML**: https://www.union.ai/docs/v1/flyte/api-reference/flytekit-sdk/flytekit.clients.auth.exceptions/
