Guild icon
S3Drive
Community / support / Bucket Deletion Bug
Avatar
NCryptsion (加密) 5/31/2026 2:04 AM
Even though the bucket is "empty", I can't seem to delete the bucket. It keeps saying failed or bucket is not empty. Also a suggestion regarding buckets, a feature where if you try to delete a bucket and it still has some files. It will prompt something like "The bucket still has some x files. Would you like to continue?" something like that for less hassle. Then deletes all files, API keys and the bucket itself. (edited)
2:06 AM
Found the problem, turns out if you still have an API key for that bucket (from the error), you can't seem to delete it unless it's removed. Speaking of API key, it seems like there is a redundancy issue if you click "Connect" to the same bucket constantly, instead of reusing the old API key created for the bucket, it keeps making new one. (edited)
Avatar
@NCryptsion (加密) Yes, at the moment we don't delete user API keys automatically when user wants to delete bucket which is referenced by at least one API key. Regarding:
if you click "Connect" to the same bucket constantly, instead of reusing the old API key created for the bucket, it keeps making new one.
This shouldn't really happen, we try to find existing connection within the S3Drive app. If there is none, new API key is requested. Bear in mind that if you auto-connect on one of your devices and want to auto-connect on another device, it will create new key, since existing API key is never retrieved from the server. Only existing credentials, that are stored client-side are being reused. Does it keep adding new API keys every time you click: "Connect"?
Avatar
Avatar
Tom
@NCryptsion (加密) Yes, at the moment we don't delete user API keys automatically when user wants to delete bucket which is referenced by at least one API key. Regarding:
if you click "Connect" to the same bucket constantly, instead of reusing the old API key created for the bucket, it keeps making new one.
This shouldn't really happen, we try to find existing connection within the S3Drive app. If there is none, new API key is requested. Bear in mind that if you auto-connect on one of your devices and want to auto-connect on another device, it will create new key, since existing API key is never retrieved from the server. Only existing credentials, that are stored client-side are being reused. Does it keep adding new API keys every time you click: "Connect"?
NCryptsion (加密) 6/4/2026 10:45 PM
I understand but I'm curious, may I ask why "Yes, at the moment we don't delete user API keys automatically when user wants to delete bucket which is referenced by at least one API key. "? And regarding the API. If you click "Connect", delete the bucket and click "Connect" again it adds a new API key even though the previous API key is still recorded in the API keys section.
Exported 4 message(s)
Timezone: UTC+0