最近更新时间:2023.08.09 16:02:16
首次发布时间:2023.03.30 19:59:27
如果成功调用 API,返回的 HTTP 状态码应该为 200,如果状态码为其他值,则表示接口调用失败。您可查看响应数据段中包含的详细错误信息,并根据下表查看对应的解决方法。
HTTP状态码 | ErrorCode | ErrorMessage | 产品文档说明 |
---|---|---|---|
500 | InternalError | The request failed due to some unknown error, exception or failure. | 内部错误,请联系技术支持排查。 |
500 | ServiceBusy | The service is busy. Try again later. | 服务繁忙,请稍后重试。 |
400 | InvalidParameter.{parameter} | The specified parameter %s is not valid. | 参数值无效,请参考API文档设置正确的参数。 |
400 | InvalidTopicName.AlreadyExists | The specified topic name already exists. | Topic名称已存在,请更换一个新的Topic名称。 |
400 | InvalidUserName.AlreadyExists | The specified user name already exists. | SASL用户名已存在,请更换一个新的用户名。 |
400 | InvalidGroupId.AlreadyExists | The specified Group ID already exists. | Group ID 已存在,请更换一个新的Group ID。 |
400 | QuotaExceeded.PartitionNumber | The number of partitions exceeds the limit. | 分区数量超出上限,请通过升级实例规格的方式购买更多分区。 |
400 | QuotaExceeded.UserNumber | The number of users exceeds the limit. | SASL 用户数量超出上限,请删除闲置用户后再创建用户。 |
400 | QuotaExceeded.GroupNumber | The number of groups exceeds the limit. | Group数量超出上限,请删除闲置Group后重试。 |
400 | OperationDenied.InvalidRequest | The request that you specified is not valid. | 请求异常,请检查后重试。可能的原因包括:请求结构不合法、Kafka版本号不匹配等。如果重试仍然无法成功调用,请联系技术支持。 |
400 | OperationDenied.ChargeTypeIsPrepaid | It's forbidden to release a prepaid instance within validity period. | 不支持在合同期内删除实例。 |
400 | OperationDenied.SSLCertificationOutOfDate | The SSL certification used is out of date. Please contact customer service to update certification first. | 实例使用的SSL证书已过期,请联系客服替换证书。 |
403 | OperationDenied.AccountNotAuthorized | You are not authorized to perform this operation. | 当前登录的火山引擎账号不具备相关操作或资源的权限,请授权或切换账号后重试。 |
403 | OperationDenied.InvalidInstanceStatus | The operation is not valid for the current status of the instance. | 当前实例状态不允许执行该操作,通常原因为实例状态不在运行中。 |
403 | OperationDenied.InvalidTopicStatus | The operation is not valid for the current status of the topic. | 当前主题状态不允许执行该操作。 |
403 | OperationDenied.InstanceNotEmpty | The instance that you tried to delete is not empty. | 期望删除的实例不为空,请删除实例中所有资源后重试。 |
403 | OperationDenied.GroupNotEmpty | The group is not empty. | Group不为空,请停止Group中所有消费者后重试。 |
403 | OperationDenied.TaskIsRunning | An operation is currently in progress. Try again later. | 后台任务正在运行中,请稍后再试。 |
404 | InvalidInstanceId.NotFound | The specified Instance ID does not exist. | 实例名称不存在,请检查后重试。 |
404 | InvalidTopicName.NotFound | The specified topic does not exist. | Topic不存在,请检查后重试。 |
404 | InvalidUserName.NotFound | The specified user name already exists. | SASL用户不存在,请检查后重试。 |
404 | InvalidMeaasgeOffset | There is no message returned. | 没有符合查询条件的消息,请检查Offset或查询时间后重试。 |