Skip to main content

How to resolve 'Cannot read property of undefined or null', 'Invalid character', or 'Unexpected character' errors?

Comments

1 comment

  • Rajnish Kucheria

    These errors typically occur when there is an issue with the code in Formula mode. To fix them:

    • Ensure the formula or code is tested locally to verify it works correctly.
    • Ensure the code doesn’t rely on third-party dependencies and does not use undefined or undeclared variables.
    • Make sure you handle scenarios where methods are not called on null or undefined data pills.

    For Node.js, ensure the formula mode is turned off for the Code field, and wrap string-type data pill values in quotes. Use Context key-value pairs in Node.js action if needed to handle data pills.

    0

Please sign in to leave a comment.