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

Token相关错误码

HttpCode错误码错误信息描述
404ApiNotSupportThe specified API is not supported.当前接口不支持,请检查。
400ApplyTokenOverFlowYou have applied for tokens too many times. Please try again later.申请token频率过高,系统限流,请重试。
400CheckAccountInfoFailedAn error occurred while checking the account information by the STS token.解析STS token账号信息失败。
400InstancePermissionCheckFailedAn error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings.实例权限校验失败,请确认云消息队列 MQTT 版实例的所属关系以及授权策略。
500InternalErrorAn error occurred while processing your request. Try again later.云消息队列 MQTT 版后端服务异常,请重试。
400ParameterCheckFailedAn error occurred while validating the parameters. The parameters may be missing or invalid.参数校验失败,可能缺失或者传入值非法。
400PermissionCheckFailedAn 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的所属权限和授权策略。
500SystemOverFlowAn error occurred while processing your request. Please try again.系统限流,请重试。
400InvalidParameter.%sAn error occurred while validating the parameter. The parameter may be missing or invalid.参数校验失败,可能缺失或者传入值非法。

Group ID相关错误码

HttpCode错误码错误信息描述
500CreateGroupIdErrorFailed to create GroupId. Try again later.创建Group ID请求执行失败,请稍后重试。
400GroupIdAlreadyExsitedThe specified GroupId already exists.当前Group ID已经存在。
400GroupIdAlreadyUsedByOtherUsersThe current GroupId is used by another user. Please change to a different GroupId.当前Group ID已经被其他用户占用,请更换其他名称。
500InternalErrorAn error occurred while processing your request. Try again later.云消息队列 MQTT 版后端服务异常,请重试。
400ParameterFieldCheckFailedFailed to validate the parameters. The parameters may be missing or invalid.参数校验失败,可能缺失或者传入值非法。
400InstancePermissionCheckFailedAn error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings.实例权限校验失败,请确认云消息队列 MQTT 版实例的所属关系以及授权策略。
400InstanceNotFoundFailed to find the instance. The instanceId may be invalid.无法找到实例。
400PermissionCheckFailedAn 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的所属权限和授权策略。

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