Our development team is currently investigating this issue as it has been reported by several other users. So far the error seems to be occurring in Tableau Server and Tableau Online with Chrome. We have not yet had reports of IE11, so If you could either reply to the existing case or open a new case, we will be happy to gather additional information for further investigation.
Thanks Brandon for the info.
And sorry, not bypassing. I was trying to see if there was anyone else facing the same issue, where some of them work perfectly fine and others do not.
Also, I am only seeing this error when I use the Share script and do not see the issue when using the actual Tableau Server. This lead me to question myself with the scripts.
Looking forward to a patch to fix this.