---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - >-
    en/troubleshooting/errors/ERR-FILE-INVALID_LINK-YADOCS_INVALID_PUBLIC_LINK_PREFIX
  - >-
    ru/troubleshooting/errors/ERR-FILE-INVALID_LINK-YADOCS_INVALID_PUBLIC_LINK_PREFIX
  - href: >-
      en/troubleshooting/errors/ERR-FILE-INVALID_LINK-YADOCS_INVALID_PUBLIC_LINK_PREFIX.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-FILE-INVALID_LINK-YADOCS_INVALID_PUBLIC_LINK_PREFIX.html
title: >-
  DataLens On-premises error
  ERR.FILE.INVALID_LINK.YADOCS_INVALID_PUBLIC_LINK_PREFIX
description: >-
  This page describes the Incorrect Yandex Documents link format DataLens
  On-premises error.
vcsPath: >-
  en/troubleshooting/errors/ERR-FILE-INVALID_LINK-YADOCS_INVALID_PUBLIC_LINK_PREFIX.md
---

# [DataLens On-premises] Incorrect Yandex Documents link format

`ERR.FILE.INVALID_LINK.YADOCS_INVALID_PUBLIC_LINK_PREFIX`

The error occurs when creating a connection to Yandex Documents if the link to the file you are adding contains `/d` instead of `/i`. Here is an example:

* `https://disk.yandex.ru/i/id` is the correct link format.
* `https://disk.yandex.ru/d/id` is the invalid link format.

To fix the problem, delete the URL to your Yandex Documents file and after a while generate a new one.