-
Notifications
You must be signed in to change notification settings - Fork 17
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
HttpError: Package not found when trying to delete it #27
Comments
No, this looks like a bug. Let me see if I can reproduce. |
Hmm, I setup the same case you have here and could delete the package. The only thing that comes to mind is that the token does not have permissions to delete the package. Does the token have the required permissions according to https://docs.github.com/en/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages? The token I am testing with has these: |
@rubengees I double checked and have all the scopes needed (and even more) but I still have a problem when I try to delete the versions of my organisation, the odd is that I have access to read those versions. this used to work 2 months ago. Additionally to this, I checked with a token with less scopes and I was no even able to get the versions. |
The new version 0.7.0 has been released. Does it work in that version? |
Recently faced with same behavior, but in my case the root of cause was that i was using personal private repo instead of organisation repo, as it was before. So replaced "organization:" with "user:" directive fixed that problem |
This is happening because the token you are using does not have the required permissions to delete the packages you are asking for. Check what repositories have access to your package under |
Yes, I removed the |
For some reason the action is not able to delete de package,
I am using the
version-pattern
to filtering and I am able to retrieve the package I want to delete, but when I tries to delete it fails.I am doing anything wrong? I am 100% sure that the package exists but I don't know why it's not working.
The text was updated successfully, but these errors were encountered: