2020 年 12 月状态 -“部署 ID 与当前项目无关”

问题描述

我正在尝试发布一个简单的 Google 插件
我遵循了 this Google Developers page 的每一步,在第三步:Enable and configure the Google Workspace Marketplace SDK,在 About App Configuration 中,您必须输入 Deployment IDproject script ID、版本和一些链接
单击保存时,我一遍又一遍地遇到相同的问题; The deployment ID is not associated with the current project。这几天我试了几次,还是不行。

有人有解决办法吗?
会不会是谷歌超载了?

谢谢,问候加布里埃尔。

解决方法

您需要将您的 Apps Script 项目转换为标准 GCP 项目

你可以这样做


  • 继续Resources-> Cloud Platform project...

enter image description here


  • 并插入 GCP 项目编号:

enter image description here


  • 您可以在 GCP 控制台的信息中心中找到项目编号

enter image description here


重要

您需要将 Apps 脚本绑定到您想要使用 Marketplace SDK 部署插件的完全相同的 GCP 项目