Skip to main content
NetApp Knowledge Base

Unable to delete bucket from S3 CLI interface due to 404 (NoSuchBucket) The specified bucket does not exist

Views:
352
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

Applies to

NetApp StorageGRID

Issue

  • Unable to delete bucket due to S3 error: 404 (NoSuchBucket): The specified bucket does not exist although it still shows present when listing out the buckets.
  • Following example shows the bucket exists still when listing and error when attempting to remove it:
Test@sp-1234:~ 13:28:47 $ aws s3 ls --profile Test_Prod --endpoint-url https://s3.netapp.cloud

2023-06-14 09:17:02 bucket_1
2020-09-10 11:25:11 bucket_2
2020-10-15 10:21:41 test-bucket


Test@sp-1234:~ 13:28:57 $ aws s3 rb --profile Test_Prod --endpoint-url https://s3.netapp.cloud test-bucket

An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: The specified bucket does not exist.

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.