All my APIs on the dev server suddenly stopped working even though I haven't changed them. I get an unexpected token error. Why? What does that mean?
Your scripts are currently disabled due to an error that was detected. Please make appropriate changes to your scripts and click the "Save Script" button and we'll attempt to start running them again. More info... For reference, the error message generated was: SyntaxError: Unexpected token |
javascript:$('button.active.togglescript').click();Enable All Scripts:
javascript:$('button.inactive.togglescript').click();
javascript:$('<textarea></textarea>').attr({id: 'TheAaronAllScripts'}).css({width:'100%',height: '30em'}).text($('.script .editor').map(function(idx,e){return e.env.editor.getValue();}).toArray().join("\n/* ############################### */;\n\n")).appendTo('body');Then take it and paste it in the Google Closure Compiler and it can probably tell you where the issue is, then you just have to scroll around that part of the scripts till you can figure out what script it is and go fix it in your scripts: https://closure-compiler.appspot.com/home