Please wait a bit for Apps Script, then wait a bit more
An unescaped stray plus in a regexp caused all scripts in my project to fail to trigger, not just the ones within the error's reachability tree. I was presented with the following notification when trying to start one manually:
I usually discover such complex interactions earlier, but in this case I was tired and I wasn't in a hurry, so I blindly chose to wait until the "server error" gets resolved. I've only STFW after getting back to see if the issue has resolved by itself.
StackOverflow: Google Apps Script: We're sorry, a server error occurred. Please wait a bit and try again
Specifically, the code contained:
The editor doesn't let you even save the file if it contains any other kind of syntax error, but this behavior seems to be some kind of a bug.
We're sorry, a server error occurred. Please wait a bit and try again.
I usually discover such complex interactions earlier, but in this case I was tired and I wasn't in a hurry, so I blindly chose to wait until the "server error" gets resolved. I've only STFW after getting back to see if the issue has resolved by itself.
StackOverflow: Google Apps Script: We're sorry, a server error occurred. Please wait a bit and try again
Specifically, the code contained:
string.replace(/+.*$/, '')instead of
string.replace(/\+.*$/, '')
The editor doesn't let you even save the file if it contains any other kind of syntax error, but this behavior seems to be some kind of a bug.
Comments
Post a Comment