First time ever I get this error : Resource_Exhausted in appscripts

323 views
Skip to first unread message

Jesus Ubach

unread,
Sep 9, 2022, 4:19:10 AM9/9/22
to Google Apps Script Community
Hi,
I am using some appscripts to automate my daily work.
However today they are not working.
I tried to debug, and when just executing a script that adds a menu on the spreadhseet with an onOpen() function I get the following error.

Any idea ? 

Erreur

Désolé, une erreur inattendue s'est produite lors de la création du projet Cloud Platform. Code d'erreur RESOURCE_EXHAUSTED.

Screenshot 2022-09-09 101804.png

Thank you in advance,
Jesus

Alan Heffernan

unread,
Sep 9, 2022, 5:11:18 AM9/9/22
to Google Apps Script Community
I'm seeing the same error with my scripts. 

Unsure what's wrong but might be a common issue.

Bruce Mcpherson

unread,
Sep 9, 2022, 5:26:16 AM9/9/22
to google-apps-sc...@googlegroups.com
Yes everyone seems to be getting this today - it applies to apps script managed projects which are created when you run a script for the first time.
As a workaround, if you have an old script you're no longer using that you have run at least once, you can reuse that as its project will already be created.





--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/55324008-f0fd-4287-9d03-5a2d03ce5da5n%40googlegroups.com.

Jesus Ubach

unread,
Sep 9, 2022, 5:36:42 AM9/9/22
to google-apps-sc...@googlegroups.com
That is for your replies,

How can i know the project name? I can't find it. 
An once I find it, what i am supposed to do? Do i need to pay for this script? I was running appscripts in an account with no Google cloud activated, because I didn't need to until today for the type os script i was using.

So if there isn't a project, then what should I do exactly?

I am super surprised Google decided to launch something ike this without telling customers before.

Thank you,
Jesus


You received this message because you are subscribed to a topic in the Google Groups "Google Apps Script Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-apps-script-community/yhO7GqM-Oow/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CANijH0UbjpbHtr5iAXtFO4bvL_mn-JS7VUB_2OdY2wm9i5ZFXA%40mail.gmail.com.

Bruce Mcpherson

unread,
Sep 9, 2022, 5:54:43 AM9/9/22
to google-apps-sc...@googlegroups.com
You don't need to know the project number if Apps script is managing it for you, which is the case for most Apps Script projects.
You only need to know it if you are associating your apps script with an alternative, existing cloud project through the project settings dialog in Apps Script because you want to use some special cloud platform APIS

Apps Script has been managing cloud projects for a long time now - so it's most probably just a temporary bug with creating new cloud projects - not a change.

As a workaround, you can re-use an old apps script (if you have one) which will already have  a project assigned to it. If you don't have an old apps script you can use for now, then you'll have to monitor the problem to see it fixed

As you can see from this issue tracker link, many people are having the same problem today.






Jesus Ubach

unread,
Sep 9, 2022, 6:02:31 AM9/9/22
to google-apps-sc...@googlegroups.com
I see,
The issue here, is that we have a spreadsheet that has a template with a script inside (extension--> appscript) where people has only view access.
And everytime a user makes a copy of the template, the script is also copied into the new spreadheet and I guess everytime the user executes one of the functions defined in the scripts via the new menu I add on the top of the "new" speadsheet the user has created by doing the copy of the template it creates a new project. 

So if new projects can't be created then there isn't really a work around.

Thanks,
Jesus


Bruce Mcpherson

unread,
Sep 9, 2022, 6:06:33 AM9/9/22
to google-apps-sc...@googlegroups.com
Ah yes. That makes sense. Hopefully they will fix it quickly.

Reply all
Reply to author
Forward
0 new messages