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

# [DataLens On-premises] Cannot parse

`ERR.DS_API.DB.CANNOT_PARSE`

Invalid data format. This error is usually caused by `null` (empty) values when converting data from one type to another.

To fix the error, process the empty values, e.g., with this formula:

```
FLOAT(IF([field_name]="") THEN "0.0" ELSE [field_name] END)
```

Where `field_name` is the name of the field which may have `null` (empty) values.
