尝试运行Google脚本时,Google Auth给出“请求的身份验证范围不足”错误

时间:2019-03-19 02:49:00

标签: firebase google-apps-script google-cloud-functions google-authentication

我正在尝试从Firebase的云功能中运行我的Google脚本。当我运行它时,Google Auth返回一个错误,提示Request had insufficient authentication scopes。我使用的是Google快速入门中的示例,位于Google Apps Script Quickstart。我在token.json文件中找到的范围是https://www.googleapis.com/auth/script.projects,是否还需要其他一些内容来运行我的简单脚本?预先感谢。

0 个答案:

没有答案