Error Codes

Last updated: 2018-08-16 13:18:42

    Error Codes

    "message" field indicates errors related to modules.
    Example:
    "message": "(100004) incorrect projectId"
    It consists of two parts - the string within () indicates the module error code, and the string following () is the error description.
    Different modules may produce different errors. You can identify the cause of error based on error description.The common error codes are listed in the following table. Other error codes not listed here can be found in the specific API description of API document.

    Common Error Codes

    Error Code Module Error Code Error Message Description
    4000 10000 invalid request parameters Request parameter is invalid. This is generally because the parameter is not specified according to the CMQ Cloud API description.
    4000 10010 lacked of required parameters Required parameter is missing. Find the missing required parameters by referring to the CMQ Cloud API description.
    4100 10030 authentication failed Authentication failed. The possible reasons are: (1) The secret key used in the generation of signature algorithm is incorrect; (2) Signature algorithm is incorrect (the signature algorithm implemented by users is used instead of official SDK).
    4300 10040 charge overdue Account is in arrears.
    6000 10050 server internal error Server internal error. Generally, requestId is returned to users, based on which users can submit a ticket to the technical support staff to locate the problem.
    4100 10080 secret id status error "secret id" status error. "secret id" may be disabled.
    4000 10110 request parameters error Incorrect request parameter. This is generally because the parameter is not specified according to the CMQ Cloud API description.
    4420 10250 qps throttling QPS is limited because it has reached the upper limit. To ensure backend stability and calling latency, the maximum QPS is 5k. Users with special requirements can submit a ticket to apply for more quota.
    4100 10270 secret id is not existed The secret id does not exist.
    4000 10280 action is not existed The parameter Action does not exist.
    4000 10310 error: parameter key format error" Incorrect parameter format.
    4000 10320 no such parameter Such parameter does not exist.
    4000 10330 parameter is NOT a repeatable parameter The parameter is unique. In a batch API, such as BatchSendMessage, the parameter msgBody is repeatable. The parameter receiptHandle in BatchDeleteMessage is also repeatable. An error may occur if any parameter other than those specified to be repeatable in each API is passed as a repeatable parameter.
    4000 10350 parameter value or length is out of range The parameter value (Integer) or parameter length (String) exceeds the limit.
    4000 10360 parameter error type Incorrect parameter type. For example, a string is specified instead of an integer.
    4000 10370 parameter batch size is more than 16 The batch value of batch API exceeds 16.
    4000 10380 parameter is not consequent The subscripts of repeatable parameters are not in sequential order.
    4000 10390 lacked of required parameter Required parameter is missing.
    4000 10400 cannot find parameter in uri Parameter cannot be found in URI.
    4000 10410 unexpected http method, only GET or POST is supported HTTP method is not supported. Currently, only GET and POST methods are supported. POST is recommended due to a limit on the length of GET request.
    4000 10420 cannot parse HTTP message cannot be resolved.
    4000 10430 action name is not existed The API name specified by Action does not exist.
    4000 10440 account illegal, it may be an assistant account Invalid account. It may be an assistant account. KMS does not support operations on an assistant account.
    4000 10450 secret id doesn't begin with AKID account The secret id does not start with AKID.
    4480 10460 exceed interface frequency limit, please slow down To protect the backend system, the call frequency limit of control class APIs (such as CreateQueue, DeleteQueue) is much lower than QPS. Therefore, when this error occurs, reduce the call frequency of control class APIs.
    4200 10461 no cam authorization The sub-account is not authorized by root account to access this API or resource.

    ##SCF Error Code##

    Error Code Module Error Code Error Message Description
    4400 9003 InvalidParameter Parameter Error
    5100 9000 SystemError System Error
    4102 9002 SecretidNotAuthAccessResource Unauthorized access to the resource
    4000 9305 InsufficientBalance Insufficient Balance

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help