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

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