App Script Deployment Screen Loading Indefinitely

2,902 views
Skip to first unread message

Josh

unread,
Nov 14, 2022, 11:30:28 AM11/14/22
to Google Apps Script Community

When trying to create a new deployment of my App Script project, the pop up screen loads indefinitely and nothing happens. Has anyone seen this happen before?

Steps to reproduce:

1. Click "Deploy".

2. Click "New Deployment"

3. Observe the screen just loads forever.

Screen Shot 2022-11-14 at 11.23.53 AM.png

CARLOS III

unread,
Nov 14, 2022, 1:18:24 PM11/14/22
to google-apps-sc...@googlegroups.com
As you can see, you have 2 erros in red, attribute expected number and some undefined variable inside a promisse

You need fix it, before trying a new deploy

--
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/e5cafce3-02e8-4aef-912e-07408034ac75n%40googlegroups.com.

cbmserv...@gmail.com

unread,
Nov 14, 2022, 1:44:27 PM11/14/22
to google-apps-sc...@googlegroups.com

Probably something in your code causing problems for the deploy code. Here is what I would do:

 

  1. Open up a ticket to have Google look and hopefully fix the issue.
  2. Comment all the code from the doGet/doPost functions (just keep the function framework in place) and try again.
  3. If commented out code works, then start uncommenting a few lines at a time until you find the culprit.
  4. If commented out code does not work, then start with a new container (spreadsheet or doc or whatever you are using) and copy code over and try again,

 

This group is a discussion group and not a Google support group. So all we can do is share our experience with you but we are not Google employees.

 

From: google-apps-sc...@googlegroups.com <google-apps-sc...@googlegroups.com> On Behalf Of Josh
Sent: November 14, 2022 8:30 AM
To: Google Apps Script Community <google-apps-sc...@googlegroups.com>
Subject: [Apps-Script] App Script Deployment Screen Loading Indefinitely

 

When trying to create a new deployment of my App Script project, the pop up screen loads indefinitely and nothing happens. Has anyone seen this happen before?

Steps to reproduce:

1. Click "Deploy".

2. Click "New Deployment"

3. Observe the screen just loads forever.

image001.png

Josh Brostoff

unread,
Nov 14, 2022, 8:50:01 PM11/14/22
to Google Apps Script Community
This issue was that the Apps Script API was disabled on my account. This is a defect because this has never been an issue for the past 3 months when I have been creating new deployments.

User has not enabled the Apps Script API. Enable it by visiting https://script.google.com/home/usersettings


ferial

unread,
Feb 12, 2023, 7:12:36 AM2/12/23
to Google Apps Script Community
its works thanks

Victor Barros diaz

unread,
Feb 14, 2023, 8:33:12 AM2/14/23
to Google Apps Script Community
Hice lo que se menciona y aún el problema persiste. Alguien encontró una manera distinta de hacerlo? Aún me queda cargando de manera indefinida. No es error de código porque en una copia de este proyecto si funciona la implementación. 

Brett Grear

unread,
Feb 14, 2023, 11:21:14 AM2/14/23
to Google Apps Script Community
This happened to me once when I was trying to deploy from an account that was not the owner of the script or enclosing document.  Not sure if your situation is related.
Reply all
Reply to author
Forward
0 new messages