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

# [DataLens On-premises] Data preparation not finished

`ERR.DS_API.DB.DATA_PREPARATION_NOT_FINISHED`

Data preparation is not complete yet; wait a few more minutes or reload the data.




You get this error if the file upload is not yet fully processed in the [file](../../operations/connection/create-file.md) connection.

The error also occurs when [importing workbooks](../../workbooks-collections/export-and-import.md#import-workbook) with such connections. To fix this error, reload the data after importing the workbook.

