The error message you provided appears to be incomplete and lacks context.
However, a “syntax error” typically refers to a mistake in the structure of the code that violates the programming language’s syntax rules.
- Double-check your code for typos or misspelled keywords.
- Make sure that all opening brackets, parentheses, and quotes have corresponding closing ones.
- Verify that you have correctly used all necessary punctuation, such as semicolons or commas.
- Look for common mistakes such as using an assignment operator instead of an equality operator, or mixing up variable types.
- Consider using a code editor or an IDE with built-in syntax highlighting and error highlighting to help you identify syntax errors.
- In suitescript 2.0 we have to add code mentioned below before adding hard code while debugging script in netsuite
/**
* @NApiVersion 2.x
* @NModuleScope Public
*/