---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/troubleshooting/errors/ERR-DS_API-SOURCE_ACCESS_DENIED-INVALID_TOKEN
  - ru/troubleshooting/errors/ERR-DS_API-SOURCE_ACCESS_DENIED-INVALID_TOKEN
  - href: en/troubleshooting/errors/ERR-DS_API-SOURCE_ACCESS_DENIED-INVALID_TOKEN.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/troubleshooting/errors/ERR-DS_API-SOURCE_ACCESS_DENIED-INVALID_TOKEN.html
title: DataLens On-premises error ERR.DS_API.SOURCE_ACCESS_DENIED.INVALID_TOKEN
description: This page describes the Invalid user token DataLens On-premises error.
vcsPath: en/troubleshooting/errors/ERR-DS_API-SOURCE_ACCESS_DENIED-INVALID_TOKEN.md
---

# [DataLens On-premises] Invalid user token

`ERR.DS_API.SOURCE_ACCESS_DENIED.INVALID_TOKEN`

The token stored in the connection is not valid.

The token specified when creating the connection is no longer valid.
Possible reasons for token invalidation:

* You've changed your account password in Yandex ID.
* You've revoked the token in Yandex ID.

To fix this error:

1. In the list of your connections, select the connection whose token is no longer valid.
1. Click **Get token**.
1. If needed, grant DataLens access to your email address.
1. Click **Save changes**.
