GoogleJsonResponseException: The call from API to drive.revisions.get failed with error : Revision not found: 1
From your error message, in your situation, how about retrieving the 1st existing revision version? When this is reflected in your script, it becomes as follows.
From:
var revisionId = "1";
var googleDocsFileId = SpreadsheetApp.getActiveSpreadsheet().getId();
To:
var googleDocsFileId = SpreadsheetApp.getActiveSpreadsheet().getId();
var list = Drive.Revisions.list(googleDocsFileId, { fields: "items(id)" }).items;
if (list.length == 0) throw new Error("No revisions were found.");
var revisionId = list[0].id;
Reference:
- Revisions: list