停止错误“执行该操作需要授权".在Google Apps脚本中 [英] Stopping the error "Authorisation is required to perform that action" in Google Apps Script

查看:84
本文介绍了停止错误“执行该操作需要授权".在Google Apps脚本中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试查看已部署的应用程序时,我不断收到此错误消息.

I keep getting this error message when I try to view my deployed app.

执行该操作需要授权

Authorisation is required to perform that action

如何解决该错误?

脚本中使用的服务:

  • ScriptDB
  • UiApp
  • ScriptDB
  • UiApp

(我想就是全部)

我在文档中找不到答案,因此,我非常感谢您的帮助.

I can't find the answer in the documentation, so I would be very grateful for some help.

推荐答案

您需要进入脚本编辑器并尝试首先手动运行任何功能.

You need to go the script editor and attempt to run any function manually first.

当您首次部署为Web应用程序时,会显示第一个授权弹出窗口,但是如果您更改访问新服务的代码,则必须重新授权它.

A first authorization popup is shown when you first deploy as web app, but if you go and change the code accessing new services you have to re-authorize it.

这篇关于停止错误“执行该操作需要授权".在Google Apps脚本中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆