If you have script tag then only this error will trigger, do a inspect url in search console and debug which script tag is executing