Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for badRequest (0.15 sec)

  1. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // still succeed if there are no other errors, and will only persist
      // the last of any duplicate fields. This is the default in v1.23+
      // - Strict: This will fail the request with a BadRequest error if
      // any unknown fields would be dropped from the object, or if any
      // duplicate fields are present. The error returned from the server
      // will contain all unknown and duplicate fields encountered.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		Code:           "InvalidPrefixMarker",
    		Description:    "Invalid marker prefix combination",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBadRequest: {
    		Code:           "BadRequest",
    		Description:    "400 BadRequest",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKeyTooLongError: {
    		Code:           "KeyTooLongError",
    		Description:    "Your key is too long",
    		HTTPStatusCode: http.StatusBadRequest,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		apiErr := errorCodes.ToAPIErr(s3Err)
    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    			if apiErr.Code == "InternalError" {
    				// Convert generic internal errors to bad requests.
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 7.
    		// Test case with object name missing from source.
    		// fail with BadRequest.
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    			copySourceHeader: url.QueryEscape("//123"),
    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        @Override
        public ApiResponse handleValidationError(final ApiFailureResource resource) {
            return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, null))).httpStatus(HTTP_BAD_REQUEST);
        }
    
        @Override
        public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

            if (artifact == null) {
                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
            }
            installArtifact(artifact);
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/plugin
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

            validateApi(body, messages -> {});
            if (!isValidFileConfigId(body.fileConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid fileConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final FileAuthentication fileAuth = getFileAuthentication(body).map(entity -> {
                try {
                    fileAuthService.store(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            validateApi(body, messages -> {});
            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final RequestHeader reqHeader = getRequestHeader(body).map(entity -> {
                try {
                    reqHeaderService.store(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            validateApi(body, messages -> {});
            if (!isValidWebConfigId(body.webConfigId)) {
                return asJson(new ApiErrorResponse().message("invalid webConfigId").status(Status.BAD_REQUEST).result());
            }
    
            body.crudMode = CrudMode.CREATE;
            final WebAuthentication webAuth = getWebAuthentication(body).map(entity -> {
                try {
                    webAuthService.store(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/ApiResult.java

    public class ApiResult {
    
        protected ApiResponse response = null;
    
        public ApiResult(final ApiResponse response) {
            this.response = response;
        }
    
        public enum Status {
            OK(0), BAD_REQUEST(1), SYSTEM_ERROR(2), UNAUTHORIZED(3), FAILED(9);
    
            private final int id;
    
            Status(final int id) {
                this.id = id;
            }
    
            public int getId() {
                return id;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top