{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":607,"path":"api-reference/scripts/c_ScriptSyntaxErrorChecking.md","title":"Syntax errors and warnings","bundle":null,"doc_type":null,"release":"australia","body":"\n# Syntax errors and warnings\n\nAll script fields provide controls for checking the syntax for errors and for locating the error easily when one occurs.\n\nThe syntax editor displays messages about errors or warnings in your scripts in the following situations:\n\n-   Saving a new record or updating an existing record.\n-   Selecting the syntax checking icon before saving or updating a record.\n\n    \\[Omitted image \"ScriptSyntaxError.png\"\\] Alt text: Error message displays with the syntax editor and includes details about the issue and its location in the code.\n\n\nYou can configure whether to show indicators next to a line of code that contains an issue for errors, warnings, both, or none with the **glide.ui.syntax\\_editor.show\\_warnings\\_errors** system property.\n\n**Parent Topic:**[Using the JavaScript syntax editor](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/scripts/r_EdtJvaScptWSyntxEdtr.md)\n\n"}}