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

# [DataLens On-premises] File check failed

`ERR.FILE.UNSUPPORTED_DOCUMENT`

Unsupported file format.

<!-- source: en/_includes/datalens/err-file-unsupported_document.md -->
This error occurs when trying to create a connection to an `XLSX` table from Google Sheets.

To fix it, save the table in Google Sheets format: in the table menu, select **File** → **Save as Google table**.
<!-- endsource: en/_includes/datalens/err-file-unsupported_document.md -->