百度智能云

All Product Document

          Intrusion Detection System

          Error Code

          When an error occurs when the user accesses API, the corresponding error code and error message will be returned to the user to facilitate localization and make appropriate processing. The detailed error information is returned through Response Body in case of a request error, and the following format is followed:

          Parameter name Type Description
          code String Error code
          message String Err description
          requestId String RequestID of this request

          Example:

          {
          	"requestId" : "ae2225f7-1c2e-427a-a1ad-5413b762957d",
          	"code" : "NoSuchKey",
          	"message" : "The resource you requested does not exist"
          }

          BCE Common Error Code

          Error return code Error message Status code Description
          AccessDenied Access denied. 403Forbidden No privilege to access the corresponding resource.
          InappropriateJSON The JSON you provided was well-formed and valid, but not appropriate forthis operation. 400 Bad Request The JSON format in the request is correct, but doesn't meet the requirements semantically, For example, a required item is missing, or the value type does not match. For consideration of compatibility, all unrecognizable items should be ignored directly, and this error should not be returned.
          InternalError We encountered an internal error Please try again. 500 Internal Server Error All other undefined errors should not be utilized when there are specific corresponding other types of errors (including generic and service customized errors).
          InvalidAccessKeyId The Access Key ID you provided doesnot exist in our records. 403Forbidden Access key ID does not exist.
          InvalidHTTPAuthHeader The Access Key ID you provided does notexist in our records. 400 BadRequest Authorization header field format error.
          InvalidHTTPRequest There was an error in the body of your HTTP request. 400 Bad Request The HTTP body format is wrong. For example, it does not conform to the specified Encoding.
          InvalidURI Could not parse the specified URI. 400 Bad Request The URI format is incorrect, such as mismatch of some service-defined keywords. For ID mismatch, more specific error codes should be defined, such as NoSuchKey.
          MalformedJSON The JSON you provided was not well-formed. 400 BadRequest Illegal JSON format.
          InvalidVersion The API version specified was invalid. 404 NotFound The version number of the URI is illegal.
          OptInRequired A subscription for the service is required. 403Forbidden No corresponding service has been enabled.
          PreconditionFailed The specified If-Match header doesn ' tmatch the ETag header. 412PreconditionFailed See Etag for details.
          RequestExpired Request has expired. Timestamp date is <Data>. 400 BadRequest The request has timed out. Change to x-bce-date. If only Date exists in the request, you need to convert Date to datetime.
          IdempotentParameterMismatch The request uses the same client token asa previous, but non-identical request. 403Forbidden The API parameters corresponding to clientToken are non-identical.
          SignatureDoesNotMatch The request signature we calculated does not match the signature you provided. Check yourSecret Access Key and signing method. Consultthe service documentation for details. 400 Bad Request The signature attached in the authorization header field is inconsistent with the server-side verification.

          IDS Service Error Code

          Error code Err description HTTP status code Semantics
          OperateIdsAuthDenied No operate ids auth privilege 403 No privilege to enable IDS service
          IdsReadDenied No ids read privilege 403 No privilege to read IDS
          IdsAdminDenied No ids admin privilege 403 No privilege to manage IDS
          ReadEipListDenied No read eip list privilege 403 No privilege to view eip
          IdsReadEipListDenied No read ids eip list privilege 403 No IDS privilege to view eip
          OperateEipListDenied No operate eip list privilege 403 No privilege to operate eip
          IdsOperateEipListDenied No operate ids eip list privilege 403 No IDS privilege to operate eip
          EipNotFound eip not found 404 EIP is not found
          IdsAuthRegionNotFound auth region not found 404 The authorized IDS region is not found
          Previous
          Public Request Header and Response Header
          Next
          Intrusion Analysis Query Interface