Error Codes

Last updated: 2018-05-15 11:07:01

Error Codes

Message field indicates a module-related error.
Example:
"message": "(100004) projectId is incorrect"
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. The user can identify the cause of error based on error description. The following table lists a number of common error codes. If you do not find the error code you want, please refer to the specific API description in API document.

Common Error Code

Error Code Module Error Code Error Message Description
4000 10,000 invalid request parameters The request parameters are invalid. This error is usually caused by the fact that the parameters are not set according to the API descriptions of CMQ Cloud API.
4000 10010 lacked of required parameters Lacked of required parameters. Users should refer to the API descriptions of CMQ Cloud API to find which required parameters are missing.
4100 10030 authentication failed Authentication failed. Possible reasons are as follows 1) The secret key that generated the signature algorithm is incorrect; 2) The signature algorithm is incorrect (users try to implement the signature algorithm by themselves instead of using the official sdk).
4300 10040 charge overdue Charge overdue.
6000 10050 server internal error Internal server error. Generally, there will be a requestId returned to the user. Users can submit a ticket according to requestId to the technicians to locate the problem.
4100 10080 secret id status error Secret id status error. The secret id may be disabled.
4000 10110 request parameters error Request parameters error. This error is usually caused by the fact that the parameters are not set according to the API descriptions of CMQ Cloud API.
4420 10250 qps throttling The qps reaches the maximum value, so it is restricted. In order to ensure the stability of background and call latency, the current maximum number of messages per second is 5,000. For customers with special requirements, customers can can submit a ticket for a larger one.
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" The parameter format is incorrect.
4000 10320 no such parameter There is no such parameter.
4000 10330 parameter is NOT a repeatable parameter The parameter is not a repeatable parameter. For example, in the batch APIs, BatchSendMessage and msgBody are repeatable parameters. In BatchDeleteMessage, receiptHandle is a repeatable parameter. If a parameter other than the repeatable parameters specified by each API is passed in the form of repeatable parameters, it will be treated as an error.
4000 10350 parameter value or length is out of range Parameter value or length is out of range. For integers, this is usually a value error. For String parameters, it is a length error.
4000 10360 parameter error type The parameter type is incorrect. For example, fill the integer as a string.
4000 10370 parameter batch size is more than 16 The batch value of batch API is more than 16.
4000 10380 parameter is not consequent The subscripts of repeatable parameters are not consequent.
4000 10390 lacked of required parameter Lacked of required parameter.
4000 10400 cannot find parameter in uri Cannot find parameter in uri.
4000 10410 unexpected http method, only GET or POST is supported Unexpected http method. Only GET or POST is supported. Due to the length restriction of GET, it is recommended to use POST.
4000 10420 cannot parse Cannot parse http message.
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 Account illegal. It may be an assistant account. Currently, CMQ does not support the operations of assistant account.
4000 10450 secret id doesn't begin with AKID account The secret id doesn't begin with AKID account.
4480 10460 exceed interface frequency limit, please slow down To protect the back-end system, the call frequency limit of control APIs (such as CreateQueue, DeleteQueue, etc.) is much lower than QPS. Therefore, when you see this error, please reduce the call frequency of control APIs.

Queue Common Error Codes

Error Code Module Error Code Error Message Description
4440 10100 queue name is not existed, or deleted The queue does not exist, or the queue has been deleted.
4000 10450 secret id doesn't begin with AKID account The secret id doesn't begin with AKID account.

Topic Common Error Codes

Error Code Module Error Code Error Message Description
4000 10560 subscription is not existed Subscription does not exist.
4440 10600 topic name is not existed, or deleted The topic does not exist, or the topic has been deleted.