A Ghost Container Package "deleted_*" #75302
Replies: 2 comments 2 replies
-
It seems like you're facing an issue with deleting a container package on GitHub using the REST API. The error message "Package not found" suggests that GitHub is unable to locate the specified package for deletion. Here are a few things you can check and try: Correct API Endpoint: Ensure that the API endpoint is correct. In your case, it seems like the URL is: Check the visibility of the package. If the package is associated with a private repository, make sure that you have the necessary permissions to delete packages associated with that repository. Ensure that the token used for authentication has the necessary permissions to delete packages. The token should have the delete:packages scope. If the package is associated with a user or organization (as opposed to being associated with a repository), make sure you're using the correct API endpoint for deleting a package for a user or organization. For users:
For organizations:
Check Package ID: Confirm that the package ID you are providing in the API request is accurate. You can cross-verify the package ID from the response you received when listing packages. Ensure that you are using the correct GitHub API version. In your request, you've specified "X-GitHub-Api-Version: 2022-11-28". Double-check if this version is supported and if there are any updates. |
Beta Was this translation helpful? Give feedback.
-
I'm also seeing this, is there a workaround to delete the package? |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Description
I have encountered an issue where a container package on GitHub, named "deleted_eac18fab-9947-4480-be1e-3335d90fc371", is not deletable via the GitHub REST API. Despite your attempts to delete it, the package remains and only appears as a number in the GUI.
GUI screenshots
logs
When I am running go get a list of pkg
result
when I try to delete
error
Beta Was this translation helpful? Give feedback.
All reactions