How to fix “Invalid Add-on” error when installing unpublished Gmail addon?

半腔热情 提交于 2019-12-23 01:19:06

问题


I developed a Gmail addon on my personal Google scripts workspace. I didn't have any trouble installing it on my personal Gmail. I haven't published it to the app marketplace yet and I wanted to install (using this method) it on my company's Google Suite email account (I am the administrator of that Google Suite account). However, when I copy the deployment ID and press install I get an error saying "invalid addon".

I have made sure that:

  1. My work email account has read access to the google scripts folder with the code
  2. Security preferences allow third party marketplace apps on the

Any guess on how I can solve this?


回答1:


In company GSuite email account, it is not possible to install a developer add on(developed from personal gmail account) as GSuite company accounts are more secured. There is a way we can whitelist the add-ons in GSuite admin console, but they did not add it for developer add-in yet.

I encountered the same problem for my company's GSuite account. I followed the following steps to solve the issue:

  1. Share the developer add-on from personal account to GSuite email account.
  2. Login to GSuite email account.
  3. Open Google drive by navigating to https://drive.google.com
  4. Here you can see the add-on shared from your personal account, make a copy of this.
  5. Open the new add-on, take the deployment id of this new add-on and install in your gsuite gmail.

It worked for me.




回答2:


Apparently it's just not possible to instal an unpublished add-on across different domains without making a new copy of the add-on's code.



来源:https://stackoverflow.com/questions/48918803/how-to-fix-invalid-add-on-error-when-installing-unpublished-gmail-addon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!