---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/troubleshooting/errors/ERR-DS_API-DB-AUTHENTICATION_FAILED
  - ru/troubleshooting/errors/ERR-DS_API-DB-AUTHENTICATION_FAILED
  - href: en/troubleshooting/errors/ERR-DS_API-DB-AUTHENTICATION_FAILED.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-DB-AUTHENTICATION_FAILED.html
title: DataLens On-premises error ERR.DS_API.DB.AUTHENTICATION_FAILED
description: >-
  This page describes the Database authentication failed DataLens On-premises
  error.
vcsPath: en/troubleshooting/errors/ERR-DS_API-DB-AUTHENTICATION_FAILED.md
---

# [DataLens On-premises] Database authentication failed

`ERR.DS_API.DB.AUTHENTICATION_FAILED`

Connection to source with specified credentials failed.

To fix this error:

* Make sure your credentials (username and password) are correct; you might have used a wrong keyboard layout, had `Caps Lock` on, typed in an extra character, or pasted the credentials with an extra space. If this is not the case, check the username and password with the database administrator.
* Use any database client to verify that you can connect to the source with the username and password you entered.
