如果成功调用微消息队列 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 的所属权限和授权策略。

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