I have a super-simple script that has been working fine for a few months - getting a file by its ID, then copying a version of it to a folder with the date in the new file name:
var date = Utilities.formatDate(new Date(), "GMT", "yyyy-MM-dd");
var file = DriveApp.getFileById("[--TheIdOfTheFileIsHere--]");
var folder = DriveApp.getFolderById("[--TheIdOfTheFolderIsHere--]");
var newFile = file.makeCopy(date+' File', folder);
A week or two ago it started erroring on every run with the message "Exception: Service error: Drive".
Any idea what it could be? The script hasn't been touched so I thought maybe permissions could have been changed on the file or folder - but even setting them to be least restrictive doesn't help. Has something changed with DriveApp?
Thanks!