Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BucketNotEmpty (0.06 sec)

  1. cmd/api-errors.go

    		Description:    "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketNotEmpty: {
    		Code:           "BucketNotEmpty",
    		Description:    "The bucket you tried to delete is not empty",
    		HTTPStatusCode: http.StatusConflict,
    	},
    	ErrBucketAlreadyExists: {
    		Code:           "BucketAlreadyExists",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
  2. cmd/bucket-handlers.go

    		Force:      forceDelete,
    		SRDeleteOp: getSRBucketDeleteOp(globalSiteReplicationSys.isEnabled()),
    	}); err != nil {
    		apiErr := toAPIError(ctx, err)
    		if _, ok := err.(BucketNotEmpty); ok {
    			if globalBucketVersioningSys.Enabled(bucket) || globalBucketVersioningSys.Suspended(bucket) {
    				apiErr.Description = "The bucket you tried to delete is not empty. You must delete all versions in the bucket."
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
Back to top