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.