Fixing the Bad Request for url MetrikaHttpApiException direct_client_logins error
Written by
Updated at December 17, 2025
Issue description
When connecting through the Yandex Metrica API, the direct_client_logins parameter is not specified in the URL.
Solution
To create a request, you need to provide the direct_client_logins parameter. For more details, see here
Currently, DataLens cannot deliver this parameter and the like; therefore, you cannot build a chart this way, but you can export data to ClickHouse®.