[Yandex Cloud documentation](../../../index.md) > [Yandex DataLens](../../index.md) > Troubleshooting > Use of QL charts is prohibited at connection level

# [Yandex DataLens]: Use of QL charts is prohibited at connection level

`ERR.DS_API.CONNECTION_CONFIG.DASHSQL_NOT_ALLOWED`

The error occurs when the use of [QL charts](../../concepts/chart/ql-charts.md) is prohibited at the connection level.

To fix the error, enable **Allow subqueries in datasets, source parameterization, and QL charts** in the connection settings.