I have a script that has been working for a while now, and within it, it calls DriveApp.getFolderById({folderID}). I wanted to add better logging to my script, so I connected it to a Cloud Platform Project through the UI:
After I set this script to be connected to a new project, I now receive this error every time I call the script on the line that calls DriveApp.getFolderById({folderID}):
Any idea how I can fix this without setting up a whole new script?