# flytekit.clients.auth.exceptions

## Directory

### Errors

| Exception | Description |
|-|-|
| [`AccessTokenNotFoundError`](https://www.union.ai/docs/v1/union/api-reference/flytekit-sdk/packages/flytekit.clients.auth.exceptions/page.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/union/api-reference/flytekit-sdk/packages/flytekit.clients.auth.exceptions/page.md#flytekitclientsauthexceptionsauthenticationerror) | This is raised for any AuthenticationError. |
| [`AuthenticationPending`](https://www.union.ai/docs/v1/union/api-reference/flytekit-sdk/packages/flytekit.clients.auth.exceptions/page.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/packages/flytekit.clients.auth.exceptions.md
**HTML**: https://www.union.ai/docs/v1/union/api-reference/flytekit-sdk/packages/flytekit.clients.auth.exceptions/
