-
Notifications
You must be signed in to change notification settings - Fork 435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't delete versions #224
Comments
We're limited on the API for this one. |
Thanks @grant - the issue was I couldn’t seem to delete it in the UI either. There doesn’t seem to be any explanation as to what a label is in this context, but I’m guess it’s a description? |
I've just verified the UI instructions work. Press the "X" next to a version ID. |
@grant for some of them it does - not all. Some must have some link to something called a 'label'. Those ones I've never been able to delete. Looking at the response in Chrome console network tab to the XHR POST shows the same message:
This is just a standalone script. Here's a little capture: |
Can you take a picture and describe the type of script (add-on, standalone, web app)? |
@grant - we crossed posts, have posted further details just prior. |
@grant I had the same issue, and I'm the one the OP referenced to the post in Stackoverflow with no answer to date. A reply there asked about the type of script, and for me it wasn't standalone but rather a web app. Just FYI. I'm unclear how this could be related to clasp since this happens in the UI and is obviously something internal to GAS. |
@shai - Agree it's probably a server side issue. I mentioned it here because personally I'd only ever created versions with clasp, and also because since the folks here develop the client, they may well be able to help figure out the error (which I've not seen solved anywhere). |
@marcosscriven let's cross fingers .. perhaps they would be able to assist in this mystery :) |
Ok .. I was playing around with issue #63 and after I used Furthermore, after I used Also, trying to undeploy again that same deployment yields |
Having the same issue. I was able to delete some using the ui but there are about 10 versions that I am unable to deploy. Using clasp undeploy I get Unable to delete read-only deployment. In the ui, I get You cannot delete this version because it is being used by a label |
Please upvote or comment on this Apps Script bug and I'll let the team know about it so they can fix it: Again, this error is not related to clasp, but Apps Script itself. |
Same issue. I starred @grant's link. My workaround for now...
and then manually publish a new version. |
Same here. For versions created from clasp deployments, I cannot delete the version, reglardless of having removed all deployments. Working on a webapp. Hope to not bump into some limit for number of versions, as the number of deployments has. Also commented on the GAS issuetracker. |
Would be great to get this feature available to delete some existing versions. |
I am surprised to find this issue still not solved. |
I think this issue may end up being higher in priority now that Google is enforcing a 200 version limit as 6/1/2024. I seem to have broken our production Apps Script project by trying to |
Expected Behavior
Can delete versions
Actual Behavior
Get an error saying "You cannot delete this version because it is used by a label”
Found this issue in Stackoverflow, but there's no answer.
There's also no mention on this error in the documentation.
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: