Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FAQ #4 - Syntax Error Message
When I'm coding up my study, what should I do when I get an error message? How do I know what needs fixing?
If you get an error message about syntax, there are two things you should do. (1) Highlight all text in your trial templates and press "Tab" on your keyboard. This will indent all code in a readable way, so that you can look through it and see if there are any missing parentheses, etc. Do the same thing with your procedure code. 
If you can't find an issue by looking at your code, you should (2) verify that your code is valid JSON. To do this, copy and paste your code into an online JSON checker. Be sure to remove any lines with comments (lines that start with double slashes //). These checkers will point to any syntax errors.

Forum Jump:

Users browsing this thread: 1 Guest(s)