1 Reply Latest reply on Oct 15, 2015 7:29 PM by Community Administrator

    Unexpected token: operator (<) (line: X, col: Y)

    Community Administrator Adobe Employee

      I'm getting the following error:

      Unexpected token: operator (<) (line: X, col: Y)

      What's wrong with my code?

      • 0. Re: Unexpected token: operator (<) (line: X, col: Y)
        Community Administrator Adobe Employee

        You’ve likely chosen the incorrect setup type for your script. Based on the contents of the script, the editor was expecting HTML, but you set the script to Javascript or vice versa. For example: if your script contains <script> tags, but you set the script up as Javascript, you will receive this error when you attempt to save the code.