问题
I have a script in Google Sheets where I literally can't execute anything. For example:
function onOpen(e) {
var ui = SpreadsheetApp.getUi();
// Or SpreadsheetApp or FormApp.
ui.createMenu("Ampion Sheet Control")
.addSeparator()
.addItem("Ampion Sheet Control Wizard", "showSidebarIntro")
.addToUi();
}
I just get the error:
Unreachable Service: mirror
回答1:
To make sure the question has a noticeable answer:
There is an issue submitted to the issue tracker that is as of now not yet resolved (or confirmed as an actual bug for that matter). Since mirror
is the id (note - not identifier, the Id) of the advanced Mirror service, make sure that the service is turned off:
And that there is no corresponding dependency in the appscript.json
manifest file:
{
"userSymbol": "Mirror",
"serviceId": "mirror",
"version": "v1"
}
If after doing this (or if you need access to Mirror) the issue is unresolved, please star the issue on the tracker and add info about your case in the comments to the issue.
来源:https://stackoverflow.com/questions/61493247/google-sheets-script-error-unreachable-service-mirror