So, we tried to duplicate Google sheets, believing that the associated script will also be copied, and this does not mean that the new script that we created executed the original sheet!
After restoring the sheet, we now get a 404 error in the console and the button does not work when I click on the download of the HTML service. If I load a script from the script / onOpen editor, the page loads fine.
My main question is: how do I duplicate a sheet and scripts without executing the original sheet? If anyone knows how to fix 404 error that would also be perfect!
source
share