Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens neuroanalyst
  • DataLens Gallery
  • Audit Trails events

[Yandex DataLens] Formula syntax error

Written by
Yandex Cloud
Updated at December 1, 2025

ERR.DS_API.FORMULA.PARSE.UNEXPECTED_TOKEN

This error occurs when a calculated field contains a formula with incorrect syntax. In the chart or dataset editing interface, such fields are highlighted in red. To fix this error, check all red marked fields and revise the formulas in them.

Here is an example:

  • Invalid value list provided:

    • Incorrect formula: [field] NOT IN {'value1', 'value2'}.
    • Correct formula: [field] NOT IN ('value1', 'value2').
  • Unbalanced quotes:

    • Incorrect formula: [field] = 'value.
    • Correct formula: [field] = 'value'.
  • Invalid comparison syntax:

    • Incorrect formula: [field] == 'value'.
    • Correct formula: [field] = 'value'.

Was the article helpful?

© 2025 Direct Cursus Technology L.L.C.