Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NoSuchKey (0.05 sec)

  1. cmd/s3-zip-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, zipPath); s3Error != ErrNone {
    		if getRequestAuthType(r) == authTypeAnonymous {
    			// As per "Permission" section in
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. cmd/ftp-server-driver.go

    			isDir: true,
    		}, nil
    	}
    
    	objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    	if err != nil {
    		if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    			// dummy return to satisfy LIST (stat -> list) behavior.
    			return &minioFileInfo{
    				p:     pathClean(object),
    				info:  minio.ObjectInfo{Key: object},
    				isDir: true,
    			}, nil
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. cmd/sftp-server-driver.go

    				isDir: true,
    			}}, nil
    		}
    
    		objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    		if err != nil {
    			if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    				// dummy return to satisfy LIST (stat -> list) behavior.
    				return listerAt{&minioFileInfo{
    					p:     pathClean(object),
    					info:  minio.ObjectInfo{Key: object},
    					isDir: true,
    				}}, nil
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 10 16:35:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, object); s3Error != ErrNone {
    		if getRequestAuthType(r) == authTypeAnonymous {
    			// As per "Permission" section in
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  5. cmd/utils.go

    	case "InvalidBucketName":
    		err = BucketNameInvalid{Bucket: bucket}
    	case "InvalidPart":
    		err = InvalidPart{}
    	case "NoSuchBucket":
    		err = BucketNotFound{Bucket: bucket}
    	case "NoSuchKey":
    		if object != "" {
    			err = ObjectNotFound{Bucket: bucket, Object: object}
    		} else {
    			err = BucketNotFound{Bucket: bucket}
    		}
    	case "NoSuchVersion":
    		if object != "" {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	// expected to fail with error message "NoSuchKey"
    	request, err = newTestSignedRequest(http.MethodGet, getGetObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	verifyError(c, response, "NoSuchKey", "The specified key does not exist.", http.StatusNotFound)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118.1K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    			rinfo.ReplicationStatus = replication.Completed
    			rinfo.ReplicationAction = replicateNone
    			goto applyAction
    		}
    		// if target returns error other than NoSuchKey, defer replication attempt
    		if minio.IsNetworkOrHostDown(cerr, true) && !globalBucketTargetSys.isOffline(tgt.EndpointURL()) {
    			globalBucketTargetSys.markOffline(tgt.EndpointURL())
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Description:    "The server side encryption configuration was not found",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchKey: {
    		Code:           "NoSuchKey",
    		Description:    "The specified key does not exist.",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchUpload: {
    		Code:           "NoSuchUpload",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (1)
Back to top