Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for NoSuchKey (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                switch (code) {
                case "NoSuchBucket":
                    throw new CrawlingAccessException("Bucket " + bucketName + " is not found.", e);
                case "NoSuchKey", "NoSuchObject":
                    if (logger.isDebugEnabled()) {
                        logger.debug("{} is not an object.", path);
                    }
                    break;
                default:
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  9. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top