Google Sheets script error “Unreachable Service: mirror”

大城市里の小女人 提交于 2020-06-26 05:55:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!