功能说明
如果返回结果中存在 Error 字段,则表示调用 API 接口失败。例如:
{
"Response": {
"Error": {
"Code": "AuthFailure.SignatureFailure",
"Message": "The provided credentials could not be validated. Please check your signature is correct."
},
"RequestId": "ed93f3cb-f35e-473f-b9f3-0d451b8b79c6"
}
}
Error 中的 Code 表示错误码,Message 表示该错误的具体信息。
错误码列表
公共错误码
错误码 | 说明 |
---|---|
ActionOffline | 接口已下线。 |
AuthFailure.InvalidAuthorization | 请求头部的 Authorization 不符合腾讯云标准。 |
AuthFailure.InvalidSecretId | 密钥非法(不是云 API 密钥类型)。 |
AuthFailure.MFAFailure | MFA 错误。 |
AuthFailure.SecretIdNotFound | 密钥不存在。请在 控制台 检查密钥是否已被删除或者禁用,如状态正常,请检查密钥是否填写正确,注意前后不得有空格。 |
AuthFailure.SignatureExpire | 签名过期。Timestamp 和服务器时间相差不得超过五分钟,请检查本地时间是否和标准时间同步。 |
AuthFailure.SignatureFailure | 签名错误。签名计算错误,请对照调用方式中的签名方法文档检查签名计算过程。 |
AuthFailure.TokenFailure | token 错误。 |
AuthFailure.UnauthorizedOperation | 请求未授权。请参考 CAM 文档对鉴权的说明。 |
DryRunOperation | DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 |
FailedOperation | 操作失败。 |
InternalError | 内部错误。 |
InvalidAction | 接口不存在。 |
InvalidParameter | 参数错误(包括参数格式、类型等错误)。 |
InvalidParameterValue | 参数取值错误。 |
InvalidRequest | 请求 body 的 multipart 格式错误。 |
IpInBlacklist | IP 地址在黑名单中。 |
IpNotInWhitelist | IP 地址不在白名单中。 |
LimitExceeded | 超过配额限制。 |
MissingParameter | 缺少参数。 |
NoSuchProduct | 产品不存在 |
NoSuchVersion | 接口版本不存在。 |
RequestLimitExceeded | 请求的次数超过了频率限制。 |
RequestLimitExceeded.GlobalRegionUinLimitExceeded | 主账号超过频率限制。 |
RequestLimitExceeded.IPLimitExceeded | IP 限频。 |
RequestLimitExceeded.UinLimitExceeded | 主账号限频。 |
RequestSizeLimitExceeded | 请求包超过限制大小。 |
ResourceInUse | 资源被占用。 |
ResourceInsufficient | 资源不足。 |
ResourceNotFound | 资源不存在。 |
ResourceUnavailable | 资源不可用。 |
ResponseSizeLimitExceeded | 返回包超过限制大小。 |
ServiceUnavailable | 当前服务暂时不可用。 |
UnauthorizedOperation | 未授权操作。 |
UnknownParameter | 未知参数错误,用户多传未定义的参数会导致错误。 |
UnsupportedOperation | 操作不支持。 |
UnsupportedProtocol | http(s) 请求协议错误,只支持 GET 和 POST 请求。 |
UnsupportedRegion | 接口不支持所传地域。 |
业务错误码
错误码 | 说明 |
---|---|
AuthFailure | CAM签名/鉴权错误。 |
AuthFailure.CamException | CAM系统异常。 |
AuthFailure.NoPermission | 没有权限。 |
FailedOperation.ApiGatewayQueryFailed | API网关访问失败,请重试。 |
FailedOperation.BillingQueryFailed | 计费模块访问失败。 |
FailedOperation.BindingTagsFailed | 绑定标签失败。 |
FailedOperation.CAMFailure | CAM内部错误。 |
FailedOperation.CallClusterFail | 调用集群失败。 |
FailedOperation.CheckBillingWhiteListFailed | 查询计费白名单失败 |
FailedOperation.ClsServiceNotActived | 尚未开通CLS日志服务,请开前往开通。 |
FailedOperation.ClusterQueryFailed | 集群访问失败。 |
FailedOperation.DCCosClientErr | cos client 内部错误。 |
FailedOperation.DCCreateAsyncTaskError | 创建内部异步任务失败。 |
FailedOperation.DCCreateUserCosClientErr | 创建cos client 失败。 |
FailedOperation.DCDataAnnotationRpcErr | 数据标注 rpc 内部错误。 |
FailedOperation.DCDatarepoRpcErr | 数据仓库 rpc 内部错误。 |
FailedOperation.DCDatasetExceedLimit | 数据集操作超过上限。 |
FailedOperation.DCDatasetStatusNotReady | 数据集状态未恢复。 |
FailedOperation.DCGetUserTemporarySecretErr | 获取用户临时秘钥失败。 |
FailedOperation.DCMarshalDataErr | 数据序列化错误。 |
FailedOperation.DCQueryDatasetContentErr | 数据集获取文件内容异常。 |
FailedOperation.DCUnmarshalDataErr | 数据反序列化错误。 |
FailedOperation.DCUnsupportedOperation | 数据集操作不支持。 |
FailedOperation.DeleteNotebookStorageFailed | 删除Notebook实例存储失败。 |
FailedOperation.DuplicateName | 名称重复。 |
FailedOperation.ExecDatabaseFail | 数据库执行错误。 |
FailedOperation.ExecTagFail | 标签操作失败。 |
FailedOperation.FreezeBillFailed | 余额不足冻结失败。 |
FailedOperation.InsufficientWhitelistQuota | 白名单免费配额不足。 |
FailedOperation.InvalidUserType | 操作失败,用户类型异常。 |
FailedOperation.KmsKeyNotOpen | 密钥管理系统服务未开通,请先开通腾讯云密钥管理系统服务。 |
FailedOperation.ModifyBillingInstanceBatchFailed | 变更计费配置失败。 |
FailedOperation.MoveModelDirFailed | 移动模型目录失败。 |
FailedOperation.NoFreeBucket | 没有空闲免费桶。 |
FailedOperation.NoPermission | 没有权限。 |
FailedOperation.NotAllow | 操作不允许。 |
FailedOperation.PodIpNotFound | 未找到Notebook实例相关容器,无法生成访问地址。 |
FailedOperation.Processing | 请求正在处理中,请稍后再试。 |
FailedOperation.QueryBindingTagsFailed | 查询资源标签失败。 |
FailedOperation.QueryDatabaseFail | 数据库查询错误。 |
FailedOperation.QueryPriceFailed | 查询计费价格失败。 |
FailedOperation.QueryResourceGroupNamesFailed | 查询资源组名称失败。 |
FailedOperation.QueryResourceSpecFailed | 查询计费项详情失败。 |
FailedOperation.QuerySpecsFailed | 查询计费项失败。 |
FailedOperation.QueryTagFail | 查询标签服务失败。 |
FailedOperation.RecordNotFound | 记录不存在。 |
FailedOperation.ReleaseSSHPortFailed | 释放SSH端口失败 |
FailedOperation.RepoBindByInstance | 存储库有绑定的实例,请先删除绑定的实例。 |
FailedOperation.StopJobInstanceFailed | 停止实例失败。 |
FailedOperation.StsQueryFailed | 密钥服务访问失败,请重试。 |
FailedOperation.Timedout | 实例启动失败。 |
FailedOperation.UnBindingTagsFailed | 解绑标签失败。 |
FailedOperation.UnSubmitNotAllowToStop | 当前任务后台提交重试中,不允许操作停止,请稍后再试。 |
FailedOperation.UnauthorizedOperation | 无操作权限 |
FailedOperation.UnfreezeBillFailed | 解冻失败。 |
FailedOperation.UnknownInstanceType | 未知的实例规格。 |
FailedOperation.UnmarshalData | 数据解析失败。 |
InternalError.CreateCustomSecretFailed | 创建自定义密钥失败 |
InternalError.DeleteCustomSecretFailed | 删除自定义密钥失败 |
InternalError.DescribeCustomSecretFailed | 查询自定义密钥失败 |
InternalError.DescribeSubuinDependencyAccessibilityFailed | 获取用户依赖权限失败 |
InternalError.ModifyCustomSecretFailed | 修改自定义密钥失败 |
InternalError.NoPermission | 没有权限。 |
InternalError.QueryBindingTagsFailed | 查询标签失败。 |
InternalError.QueryPriceFailed | 询价失败 |
InternalError.QueryResourceGroupFailed | 查询预付费资源组详情失败。 |
InternalError.QueryResourceGroupNamesFailed | 查询预付费资源组名称失败 |
InternalError.QueryResourceSpecFailed | 查询资源套餐规格失败 |
InternalError.QuerySubnetInfoFailed | 查询子网信息失败。 |
InternalError.QueryUserTMPCredentialFailed | 查询用户临时密钥失败 |
InvalidParameter.FilterKeyStatusConflictWithChargeStatus | 接口过滤条件"运行状态"与"计费状态"不能同时存在。 |
InvalidParameter.ModelFileInvalid | 模型包不符合规范。 |
InvalidParameter.ModelIsOffline | 模型已下线 |
InvalidParameter.TgwInvalidInterface | 无效的接口。 |
InvalidParameter.UnsupportedMultiLocalDisk | 不支持使用多个本地磁盘 |
InvalidParameter.ValidateError | 请求参数校验失败。 |
InvalidParameterValue.BadName | 名称不合法。 |
InvalidParameterValue.CcnHasNoAttachedVpc | 云联网未被关联VPC |
InvalidParameterValue.ClsConfigRequired | 请设置日志集、日志主题ID。 |
InvalidParameterValue.CodeRepoDuplicated | 存储库重复配置,请移除重复的存储库配置后重试。 |
InvalidParameterValue.CodeRepoNotFound | 存储库不存在。 |
InvalidParameterValue.DCAnnotationType | 不支持的标注类型。 |
InvalidParameterValue.DCCosPathInfo | 存储桶参数错误。 |
InvalidParameterValue.DCDatasetAnnotationNotMatch | 数据集标注状态不匹配。 |
InvalidParameterValue.DCDatasetIdNotExist | 数据集Id不存在。 |
InvalidParameterValue.DCDatasetNameExist | 数据集重名已存在。 |
InvalidParameterValue.DCDatasetType | 不支持的数据集类型。 |
InvalidParameterValue.DCFilterValues | 不支持的过滤参数。 |
InvalidParameterValue.DataConfigNumLimitExceeded | 数据配置数量超过最大限制 |
InvalidParameterValue.DuplicateName | 实例名称冲突,请更换名称后重试。 |
InvalidParameterValue.FrameworkVersionNotSupport | 训练框架对应的版本不支持,请阅读文档查看TIONE目前支持的框架和版本。 |
InvalidParameterValue.GetCFSMountIPFailed | 获取CFS的挂载IP失败 |
InvalidParameterValue.GetGooseFSFailed | 获取GooseFS实例失败 |
InvalidParameterValue.GooseFSConfigCannotEmpty | GooseFS的配置不能为空 |
InvalidParameterValue.GooseFSNotExist | 所选的GooseFS实例不存在 |
InvalidParameterValue.ImageAddressIllegal | 镜像地址不合法,请重新填写 |
InvalidParameterValue.InvalidFilter | 无效的过滤器。 |
InvalidParameterValue.InvalidImageName | 非法镜像 |
InvalidParameterValue.InvalidResourceSpec | 非法资源规格 |
InvalidParameterValue.LifecycleNotFound | 生命周期脚本无效。 |
InvalidParameterValue.LimitExceeded | 参数值数量超过限制。 |
InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithBareMetalResourceGroup | 裸金属资源组不支持创建免费存储的Notebook |
InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithSWResourceGroup | 纳管资源组不支持cbs存储,请使用CFS |
InvalidParameterValue.NotAllowedToCreateNotebookWithBareMetalResourceGroup | 裸金属资源组不支持创建Notebook |
InvalidParameterValue.PageLimitExceeded | 分页查询limit超出限制 |
InvalidParameterValue.PathIllegal | 本地盘路径不合法 |
InvalidParameterValue.ResourceConfigIllegal | 资源配置不合法 |
InvalidParameterValue.SubnetNotFound | 子网不存在。 |
InvalidParameterValue.TopicNotFound | 未找到当前日志主题。 |
InvalidParameterValue.UnsupportedGooseFSConfig | 不支持使用GooseFS实例 |
InvalidParameterValue.UnsupportedMultiCBSStorage | 不支持同一实例挂载多个CBS存储 |
OperationDenied | 操作被拒绝。 |
OperationDenied.BalanceInsufficient | 余额不足,创建/更新失败。 |
OperationDenied.BillingStatusNotSupportWhitelistGPUType | 资源类型不支持,请检查白名单配置 |
OperationDenied.BillingStatusResourceInsufficient | 按量计费资源售罄。 |
OperationDenied.IpIllegal | IP不合法。 |
OperationDenied.MIYINGBalanceInsufficient | 觅影资源包余额不足,请先充值。 |
OperationDenied.NetworkCidrIllegal | 网段不合法。 |
OperationDenied.NotAllow | 操作不允许 |
OperationDenied.NotSupportCustomResource | 当前资源组已开启资源按GPU比例预设,仅支持提交含GPU资源的任务 |
OperationDenied.ResourceGroupInsufficient | 预付费资源组余量不足。 |
OperationDenied.UnauthorizedOperation | 无访问权限 |
OperationDenied.WhitelistQuotaExceed | 白名单免费配额不足。 |
ResourceInsufficient.SSHPortIsConsumedUp | SSH端口资源耗尽 |
ResourceNotFound.NoModel | 没有该模型。 |
ResourceNotFound.ResourceGroupNotFound | 资源组不存在 |
ResourcesSoldOut | 资源售罄。 |
UnauthorizedOperation.NoPermission | 资源不属于当前登录用户主账号,无权限访问。 |