hjhlarsen
hjhlarsen

Reputation: 157

You cannot switch to an Apps Script-created Cloud Platform project - associate an Apps Script file with Cloud Project

I'm trying to attach a new app script to my Google Cloud project. From the Apps Script code editor, I'm trying to connect to to Cloud Platform project using the Menu:

Resources > Cloud Platform project

but when I add the project number I get the error message

'You cannot switch to an Apps Script-created Cloud Platform project.'

I'm trying to avoid having to create a new Cloud Project, any ideas?

Cannot switch

Upvotes: 2

Views: 493

Answers (1)

Cameron Roberts
Cameron Roberts

Reputation: 7367

As the error message states, you can't add a new Apps Script to a Cloud Console Project which was created by Apps Script. These Apps-Script created cloud console projects are managed automatically and for whatever reason have this limitation.

Create a new Cloud Console Project manually, then associate your existing apps script project with the manually created cloud console project via the Resources menu in the script editor.

Upvotes: 3

Related Questions