By the sound of it this error code will show in many, many situations, but if it helps someone, here’s what caused it in my script: I had an object in the JavaScript and an object in the DOM with the same id. When I tried to manipulate the DOM object it couldn’t do it because that object had be overwritten by the JS object.