[Yandex DataLens] Data type conversion error
Written by
Updated at February 13, 2026
ERR.DS_API.TYPE_CAST.FAILED
The error occurs because the source database uses values that do not match the column's data type. In this case, DataLens cannot convert such values to a type it can work with. For more information, see Database type and internal Yandex DataLens type mapping table.
For a more detailed description of the error, refer to the error text in the source response.
To fix the error, convert the values to the appropriate column data type in the source database. For example, if the source database has the 0000-00-00 value in the date column, convert it to either the 1970-01-01 or NULL value.