google-apps-script - 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:
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 似乎确实知道这个问题,但如果它引起问题,您可以在此处提交您自己的错误。
您也可以点击上述页面左上角问题编号旁边的 ☆,让 Google 知道更多人遇到此问题,因此更有可能更快地被看到。
推荐阅读
- angular - Angular HTTP POST 请求抛出 net::ERR_HTTP2_PROTOCOL_ERROR 错误
- javascript - 如何将 JSON 值发送到 FullCalendar 并在日历中显示事件
- javascript - 在不活动时运行脚本#Javascript #Android
- sql - AWS RDS Postgres:设备上没有剩余空间
- flutter - 如何在 Flutter 中更新 ListView.separated?
- html - 绝对定位的图像从相对 div 出来
- python - 我有一个包含集合的迭代器对象。我需要删除超集
- java - 删除不必要的位
- angular - 输入无效时想让边框颜色变红
- html - 如何避免表格或其他技巧将文本与 HTML 5 中的选项卡对齐?