如果成功调用云消息队列 MQTT 版的OpenAPI,则会返回给客户端ResponseCode=200;如果调用失败,会返回对应的异常错误码以及描述信息。您可以根据以下异常信息对照表查找对应的解决方法。

Token相关错误码

HttpCode 错误码 错误信息 描述
404 ApiNotSupport The specified API is not supported. 当前接口不支持,请检查。
400 ApplyTokenOverFlow You have applied for tokens too many times. Please try again later. 申请Token频率过高,系统限流,请重试。
400 CheckAccountInfoFailed An error occurred while checking the account information by the STS token. 解析STS Token账号信息失败。
400 InstancePermissionCheckFailed An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. 实例权限校验失败,请确认云消息队列 MQTT 版实例的所属关系以及授权策略。
500 InternalError An error occurred while processing your request. Try again later. 云消息队列 MQTT 版后端服务异常,请重试。
400 ParameterCheckFailed An error occurred while validating the parameters. The parameters may be missing or invalid. 参数校验失败,可能缺失或者传入值非法。
400 PermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。
500 SystemOverFlow An error occurred while processing your request. Please try again. 系统限流,请重试。
400 InvalidParameter.%s An error occurred while validating the parameter. The parameter may be missing or invalid. 参数校验失败,可能缺失或者传入值非法。

Group ID相关错误码

HttpCode 错误码 错误信息 描述
500 CreateGroupIdError Failed to create GroupId. Try again later. 创建Group ID请求执行失败,请稍后重试。
400 GroupIdAlreadyExsited The specified GroupId already exists. 当前Group ID已经存在。
400 GroupIdAlreadyUsedByOtherUsers The current GroupId is used by another user. Please change to a different GroupId. 当前Group ID已经被其他用户占用,请更换其他名称。
500 InternalError An error occurred while processing your request. Try again later. 云消息队列 MQTT 版后端服务异常,请重试。
400 ParameterFieldCheckFailed Failed to validate the parameters. The parameters may be missing or invalid. 参数校验失败,可能缺失或者传入值非法。
400 InstancePermissionCheckFailed An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. 实例权限校验失败,请确认云消息队列 MQTT 版实例的所属关系以及授权策略。
400 InstanceNotFound Failed to find the instance. The instanceId may be invalid. 无法找到实例。
400 PermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。

Topic相关错误码

HttpCode 错误码 错误信息 描述
400 ParameterFieldCheckFailed Failed to validate the parameters. The parameters may be missing or invalid. 参数校验失败,可能缺失或者传入值非法。
400 MqttTopicNumExceeded The maximum number of topics is exceeded. 当前实例Topic数量超过系统限制。
400 MqttTopicExist The specified topic already exists. Please check the parameter. 当前Topic已存在,请修改参数重新配置。
400 InstanceNotFound Failed to find the instance. The instanceId may be invalid. 无法找到实例。
400 ResourcePermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。
400 CreateMqttTopicFailed An error occurred while creating the MQTT topic. Please check the parameter and try again. 创建云消息队列 MQTT 版Topic失败,请检查参数重试。
400 InstancePermissionCheckFailed An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. 实例权限校验失败,请确认云消息队列 MQTT 版实例的所属关系以及授权策略。
400 PermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。

规则相关错误码

HttpCode 错误码 错误信息 描述
400 ParameterFieldCheckFailed Failed to validate the parameters. The parameters may be missing or invalid. 参数校验失败,可能缺失或者传入值非法。
400 InstancePermissionCheckFailed An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings. 实例权限校验失败,请确认MQTT实例的所属关系以及授权策略。
400 PermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。
400 ResourcePermissionCheckFailed An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings. 资源权限校验失败,请检查实例、Topic和Group ID的所属权限和授权策略。
400 CreateMqttRuleFailed An error occurred while creating the MQTT rule. Please check the parameter and try again. 创建云消息队列 MQTT 版规则失败,请检查参数重试。
400 MqttRuleExist The specified MQTT rule already exists. Please check the parameter. 当前规则已存在,请修改参数重新配置。
400 MqttRuleNumExceeded The maximum number of rules is exceeded. 当前实例规则数量超过系统限制。
400 InstanceNotFound Failed to find the instance. The instanceId may be invalid. 无法找到实例。

访问错误中心查看更多错误码。