Zak
Zak

Reputation: 2698

Google Cloud Project does not exist (but should)

Before I start, I'm having the same issue as this question and this question. Unfortunately, neither of those solutions is working for me.

I have an add-on in the G Suite Marketplace. There are two separate entries, one for a Docs version and one for a Slides version. Now that the Chrome web store is being phased out for add-ons, I want to combine them into the same listing (afaik, that wasn't possible in the web store, only G Suite Marketplace).

Because of this, I now need to associate the Apps Script projects for both the Docs and Slides version with the same Cloud project. I'm hoping to migrate both to the Docs version because that has more users so hopefully fewer people will be impacted by the move.

I've taken the following steps:

  1. Duplicate the Slides Apps Script project (to avoid messing with the original Marketplace listing until everything is set)
  2. Go into the Cloud Platform settings for the new Slides App Script project
  3. Enter the Cloud Platform project number for the Docs add-on

When I do this, I get an error that says "Project does not exist or you need edit access to it."

The weird thing is that if I try these steps to switch both projects to the Slides version in the Marketplace, it works. Because of this, I'm assuming there's some issue with the Cloud Platform project for the Docs version, but I can't seem to figure out what it is. Does anyone have any tips for common settings that could cause this error?

Upvotes: 1

Views: 1288

Answers (1)

KitzyKitt
KitzyKitt

Reputation: 83

I was having the same problem and found out that it has something to do with the Shared Drive you have for a team.

Using the answer found by Ian: Google Apps Script cannot convert from GAS managed to specific Cloud Project

If the project is in a Shared Google Drive, like a team drive, you are no longer the owner (even if it says you are).

I couldn't create a new project in a shared drive and convert it to a Cloud Managed Project.

The only way I could do it was to create a new project on my account, in My Drive, and convert that to a Cloud Managed Project, THEN move it to the shared drive. (Once it is in a shared drive, you can't MOVE it back out.) However, if it is a Cloud Managed Project, you can add more scopes to the project after it is in the shared drive. - Once this new project is setup, then copy over your code for your old copy, and point all links to the new one.

Upvotes: 1

Related Questions