首页 > 解决方案 > Issue with Google sign in and scopes while developing spreadsheets

问题描述

I am developing a spreadsheet script for a game I play.

Its been 3 weeks I'm working on it and everything was running smoothly and ran all my tests and verification successfully. Then yesterday when I wake up I started to get this message when trying to run the functions I've created: enter image description here

When I read trough the docs here: https://support.google.com/cloud/answer/7454865?hl=en It says I don't need verification while building an app.

If someone as an idea and/or a link i can refer to about this kind of issues when building scripts(not use other people ones) or explain me whats causing my issue it would be greatly appreciated.

[ edit: I've found where/what was the issue but I really dont understand it. Here's the code that activated "https://www.googleapis.com/auth/script.container.ui" Oauth scope:

function loadAxieIventory() {
 //show head off
 showHead = false;
//axie template
 axieTemp_ = axieTemp3_; //(change the value of the function in the actual function)
//get axie inventory with 
//parts inventory
};

I really don't understand whats different with this function from my other function so that it activate an other scope. Also the function is not finish yet and pretty much does nothing at this stage. ]

Regards Guillaume.

标签: google-apps-script

解决方案


这似乎是一个错误!

已经有一份关于谷歌问题跟踪器的报告详细说明了同样的行为:

Google 似乎确实知道这个问题,但如果它引起问题,您可以在此处提交您自己的错误。

您也可以点击上述页面左上角问题编号旁边的 ☆,让 Google 知道更多人遇到此问题,因此更有可能更快地被看到。


推荐阅读