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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex DataLens
  • Audit Trails events

Formula syntax error

Written by
Yandex Cloud
Updated at August 29, 2024

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.

For 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?

Yandex project
© 2025 Yandex.Cloud LLC