无法在GAS编辑器上切换Google云项目 [英] Can't switch google cloud project on GAS Editor

查看:79
本文介绍了无法在GAS编辑器上切换Google云项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在GAS编辑器中切换Google云平台项目.

I am not able to switch google cloud platform project in GAS editor.

我正在做的是...

  1. 打开Goog​​le Sheet GAS编辑器
  2. 开放资源->云平台项目
  3. 输入我要连接的项目编号

通过上述过程,我能够切换一个云平台项目,但现在它返回错误

With the process above, I was able to switch a cloud platform project but now it returns an error

项目不存在,或者您需要对其进行编辑访问."

我使用的是以前使用过的相同的云项目和相同的帐户(编辑器),并且工作正常.我尝试过使用所有者帐户执行相同的操作,但是也没有用.

I am using the same cloud project and same account(editor) that I used before and properly worked. I tried do the same with a owner account, but it didn’t work, either.

此外,此云项目不是默认项目,也不是隐藏项目. (如果确实如此,我想它应该一开始就无法通过GAS编辑器进行访问)

Also, this cloud project is not a default project nor a hidden project. (If it does, I guess it should not be able to access through GAS editor from the beginning)

我检查了下面的文档,但仅告诉我切换到隐藏项目时的情况.

I have checked documentation below, but it tells me only case when switching to a hidden project.

https://developers.google.com/apps-script/guides/cloud-platform-projects

有人有解决方案或建议吗?

Does anyone have a solution or suggestion??

谢谢您的帮助.

推荐答案

问题已解决.

我发现,即使删除实际的文档文件,也不会删除在将连接文档建立到云项目时生成的OAuth ID.

I figured out that OAuth IDs which are generated when make connection docs to the cloud project are not be deleted even though delete actual document files.

我所做的是...

  1. 登录Google Cloud Platform
  2. 转到API和服务->凭据
  3. 在OAuth 2.0客户端ID上,从列表中删除不必要的内容
  4. 返回您的文档并切换云项目.

这篇关于无法在GAS编辑器上切换Google云项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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