Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for DataLens
    • Connecting to Yandex Direct from DataLens
    • Obtaining a token to connect to Bitrix24 database from DataLens
    • How to connect to MyWarehouse connector
    • How to restore a broken dataset
    • How to recover deleted objects
    • How to find IP addresses used for connecting to external data sources
    • How to filter previously filtered data with a selector
    • Adding an existing user to DataLens
    • Resolving the ERR.DS_API.FIELD.TITLE.CONFLICT error in DataLens
    • Resolving the ERR.DS_API.REQUEST_TIMEOUT error in DataLens
    • Resolving the ERR.DS_API.SOURCE_CONFIG.TABLE_NOT_CONFIGURED error in DataLens
    • Problem when creating a connection to a Google Sheets table from DataLens
    • In DataLens table charts, the values in the "Total" fields mismatch the corresponding data from Yandex Metrica
    • Resolving the "ERR.DS_API.US Not correct folder_id" error in DataLens
    • Resolving issues with joined tables when connecting to Bitrix
    • Resolving the ERR.DS_API.FORMULA.TRANSLATION.DATA_TYPE error in DataLens
    • Resolving issues with access to the podcast statistics dashboard in Yandex Music
    • Resolving the ERR.DS_API.FORMULA.VALIDATION.AGG.INCONSISTENT error in DataLens
    • Resolving issues when loading a CSV file into a dataset as a data source in DataLens
    • Resolving the "Validation error Request failed with status code 500" error when saving a dashboard in DataLens
    • Supporting custom Bitrix24 fields in DataLens
    • Resolving the "Bad Request for url MetrikaHttpApiException direct_client_logins" error
    • Resolving the "ERR.DS_API.FORMULA.VALIDATION.AGG.INCONSISTENT - Inconsistent aggregation among operands" error
    • Resolving the "ERR.DS_API.US.BAD_REQUEST data.key should not start with /" error
    • Not all fields are displayed in datasets built on Yandex Metrica

In this article:

  • Issue description
  • Solution
  1. DataLens
  2. Resolving the ERR.DS_API.FORMULA.TRANSLATION.DATA_TYPE error in DataLens

Resolving the ERR.DS_API.FORMULA.TRANSLATION.DATA_TYPE error

Written by
Yandex Cloud
Updated at November 27, 2023
  • Issue description
  • Solution

Issue description

When you connect directly to Yandex Metrica data from DataLens, you see this error message:

{
    "*******_result": {
        "code": "ERR.DS_API.FORMULA.TRANSLATION.DATA_TYPE",
        "status": 400,
        "sourceType": "bi_datasets",
        "message": "Invalid argument types for function <fuction>;
        dialect: METRIKAAPI; types: (STRING);  however, the ClickHouse database supports such function.",
        "details": {}
    }
}
"Error: Request failed with status code 427\n)"

Solution

Such an error occurs when the direct connection to Yandex Metrica does not support the function you use.
You can review the list of supported functions in the documentation.

To enable support for most functions, you can export data from Yandex Metrica to ClickHouse and connect to the database.
To learn how to do this, see the Answers to DataLens questions article.

You can vote for implementation of this idea in the Community section. There, you can also upvote other interesting ideas. We review all the community suggestions regularly, adding them to our roadmap. As soon as we implement the idea you added or upvoted, we will write to you about this.

Was the article helpful?

Previous
Resolving issues with joined tables when connecting to Bitrix
Next
Resolving issues with access to the podcast statistics dashboard in Yandex Music
© 2025 Direct Cursus Technology L.L.C.