有奖捉虫:办公协同&微信生态&物联网文档专题 HOT

功能说明

如果返回结果中存在 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 接口不支持所传地域。

业务错误码

错误码 说明
FailedOperation.AccountAlreadyRegister 该账号已被注册。
FailedOperation.AuthInfoEmpty 用户未实名。
FailedOperation.AuthInfoNotSame 企业实名不一样。
FailedOperation.AuthNotEnterprise 用户非企业实名。
FailedOperation.BindEmailLinkExpired 绑定邮箱链接过期。
FailedOperation.BindEmailLinkInvalid 绑定邮箱链接无效。
FailedOperation.ChangePermissionRecordExist 成员权限变更记录存在。
FailedOperation.CheckAccountPhoneBindLimit 检查手机绑定上限失败。
FailedOperation.CheckMailAccount 检查邮箱绑定状态失败。
FailedOperation.CreateAccount 创建成员异常。
FailedOperation.CreateBillingPermissionErr 添加计费权限失败。
FailedOperation.CreateMemberAuthOverLimit 账号实名认证超过上限。
FailedOperation.CreatePolicy 创建策略失败。
FailedOperation.CreateRecordAlreadySuccess 创建已成功。
FailedOperation.CreateRecordNotExist 创建记录不存在。
FailedOperation.CreateRole 创建角色异常。
FailedOperation.DeletePolicy 删除授权策略异常。
FailedOperation.DisableQuitSelfCreatedOrganization 不能退出自己创建的企业组织。
FailedOperation.EmailAlreadyUsed 邮箱已经被使用。
FailedOperation.EmailBindRecordInvalid 邮箱绑定已经失效。
FailedOperation.GetAuthInfo 查询实名信息出错。
FailedOperation.GetPolicyDetail 查询策略失败。
FailedOperation.HasDifferentResourceType 共享单元存在不同的共享资源类型
FailedOperation.MemberBindEmailError 邮箱绑定失败。
FailedOperation.MemberBindPhoneError 安全手机绑定失败。
FailedOperation.MemberEmailExist 成员存在邮箱。
FailedOperation.MemberExistDelegatePayerNotAllowDelete 成员存在代付者,不允许删除。
FailedOperation.MemberIdentityAuthUsed 成员授权在使用。
FailedOperation.MemberIsDelegatePayerNotAllowDelete 成员是代付者,不允许删除。
FailedOperation.MemberNameUsed 名字已经被使用。
FailedOperation.MemberPolicyNameExist 成员授权策略名已存在。
FailedOperation.MemberShareResource 成员正在共享资源,不允许退出组织。
FailedOperation.NodeNotEmpty 企业组织单元成员不为空。
FailedOperation.OperateBillingPermissionErr 操作计费侧成员权限错误。
FailedOperation.OperatePolicy 操作策略失败。
FailedOperation.OrganizationAuthManageNotAllowDelete 成员是主体管理账号,不允许退出组织。
FailedOperation.OrganizationDetachLastPolicyError 解绑最后一个策略失败。
FailedOperation.OrganizationDetachPolicyError 解绑策略失败。
FailedOperation.OrganizationExistAlready 企业组织已经存在。
FailedOperation.OrganizationIdentityInUsed 组织身份在使用中。
FailedOperation.OrganizationIdentityNameUsed 组织身份名称被使用。
FailedOperation.OrganizationIdentityPolicyError 组织身份策略不合法。
FailedOperation.OrganizationMemberNameUsed 成员名已存在。
FailedOperation.OrganizationNodeDeleteOverLimit 删除节点超过上限。
FailedOperation.OrganizationNodeNameUsed 节点名已存在。
FailedOperation.OrganizationNodeNotEmpty 组织节点不为空。
FailedOperation.OrganizationNodeNotExist 组织节点不存在。
FailedOperation.OrganizationNotEmpty 企业组织成员不为空。
FailedOperation.OrganizationPermissionIllegal 组织权限不合法。
FailedOperation.OrganizationPolicyIllegal 组织策略不合法。
FailedOperation.OrganizationPolicyInUsed 集团策略正在被使用。
FailedOperation.OrganizationPolicyIsNotDisabled 集团策略不是禁用状态。
FailedOperation.OrganizationPolicyIsNotEnabled 集团策略不是启用状态。
FailedOperation.PartnerManagementErr 调用经销系统报错。
FailedOperation.PayUinIllegal 代付者不合法。
FailedOperation.PolicyEnableInvalid 存在成员账号已经开启标签策略,不支持开启集团标签策略
FailedOperation.PolicyFull 用户策略数超过上限。
FailedOperation.PolicyNameInUse PolicyName字段指定的策略名已存在。
FailedOperation.QuitShareUint 退出共享单元失败。
FailedOperation.QuitShareUintError 退出共享单元错误。
FailedOperation.QuiteShareUnit 退出共享单元失败。
FailedOperation.ResourceOverLimit 资源超过最大上限。
FailedOperation.ShareAreaNotExist 共享地域不存在。
FailedOperation.ShareResourceMemberInUse 成员正在使用共享资源。
FailedOperation.ShareResourceNotExist 共享资源不存在。
FailedOperation.ShareResourceTypeNotExist 共享资源类型不存在。
FailedOperation.ShareUnitNotEmpty 共享单元不为空。
FailedOperation.ShareUnitNotExist 共享单元不存在。
FailedOperation.SomeUinsNotInOrganization 存在不属于当前组织的uin。
FailedOperation.SubAccountIdentityExist 子账号存在身份。
FailedOperation.SubAccountNotExist 子账号不存在。
InvalidParameter.ActionError 策略文档的Action字段不合法。
InvalidParameter.ActionMiss 策略语法中操作不存在。
InvalidParameter.ActionNotExist 策略语法中操作不存在。
InvalidParameter.ActionServiceNotExist 策略语法中操作服务不存在。
InvalidParameter.AllowQuitIllegal 成员代付费模式,不允许主动退出组织。
InvalidParameter.AttachmentFull 授权对象策略已达上限。
InvalidParameter.CodeError 手机验证码错误。
InvalidParameter.CodeExpired 手机验证码已过期。
InvalidParameter.ConditionContentError 策略语法中条件内容不正确。
InvalidParameter.ConditionError 策略文档的condition字段不合法。
InvalidParameter.ConditionTypeError 策略语法中条件操作符不正确。
InvalidParameter.DescriptionLengthOverlimit Description入参长度不能大于300字节。
InvalidParameter.EffectError 策略文档的Effect字段不合法。
InvalidParameter.InterfaceNotExist 接口不存在。
InvalidParameter.InvalidEmail 无效的邮箱。
InvalidParameter.NotSupportProduct CAM不支持策略文档中所指定的资源类型。
InvalidParameter.OrganizationMemberNotExist 组织成员不存在。
InvalidParameter.OrganizationMemberNotManager 该成员不是企业管理员。
InvalidParameter.OrganizationNodeNotExist 组织节点不存在。
InvalidParameter.OrganizationNotExist 企业组织不存在。
InvalidParameter.ParamError 参数错误。
InvalidParameter.PasswordIllegal 密码不合法。
InvalidParameter.PolicyDocumentError PolicyDocument字段不合法。
InvalidParameter.PolicyDocumentLengthOverLimit PolicyDocument字段超过长度限制。
InvalidParameter.PolicyIdNotExist 策略ID不存在。
InvalidParameter.PolicyKeyDuplicated 标签策略内容的策略键有重复。
InvalidParameter.PolicyNameError PolicyName字段不合法。
InvalidParameter.PolicyNameExisted 策略名称已经存在。
InvalidParameter.PrincipalError 策略文档的principal字段不合法。
InvalidParameter.PrincipalQcsError PrincipalQcs错误。
InvalidParameter.PrincipalQcsNotExist PrincipalQcs不存在。
InvalidParameter.PrincipalServiceNotExist PrincipalService不存在。
InvalidParameter.ReservedTagKey 系统预留标签键 qcloud、tencent和project 禁止创建。
InvalidParameter.ResourceContentError 策略语法中资源内容不正确。
InvalidParameter.ResourceError 策略文档的Resource字段不合法。
InvalidParameter.ResourceProjectError 策略语法中资源项目不正确。
InvalidParameter.ResourceQcsError 资源QCS错误。
InvalidParameter.ResourceRegionError 策略语法中资源地域不正确。
InvalidParameter.ResourceServiceNotExist 策略语法中资源服务不存在。
InvalidParameter.ResourceUinError 策略语法中资源所属主账号不正确。
InvalidParameter.StatementError 策略文档的Statement字段不合法。
InvalidParameter.UnsupportedService 当前业务不支持标签操作。
InvalidParameter.VersionError 策略文档的Version字段不合法。
InvalidParameterValue.PolicyContentInvalid 策略内容不合法。
LimitExceeded.CreateMemberOverLimit 创建成员超过上限。
LimitExceeded.EmailBindOverLimit 配置邮箱超过当日上限。
LimitExceeded.IdentityExceedLimit 组织身份超过最大限制。
LimitExceeded.NodeDepthExceedLimit 企业组织单元层级太多。
LimitExceeded.NodeExceedLimit 组织单元数量超过上限。
LimitExceeded.OrganizationMemberOverLimit 成员超过上限。
LimitExceeded.PhoneNumBound 手机超过绑定上限。
LimitExceeded.ShareUnitMemberOverLimit 当次操作的共享成员超过上限。
LimitExceeded.ShareUnitResourceOverLimit 当次操作的共享资源超过上限。
LimitExceeded.TagPolicy 标签策略数量超出限制。
LimitExceeded.UpdateEmailBindOverLimit 修改成员绑定信息超过限制。
OperationDenied 操作被拒绝。
ResourceNotFound.ApplyNotExist 申请不存在。
ResourceNotFound.ChangePermissionNotExist 成员权限变更记录不存在。
ResourceNotFound.EffectivePolicyNotFound 有效策略不存在。
ResourceNotFound.EmailBindRecordNotExist 邮箱绑定记录不存在。
ResourceNotFound.InvitationNotExist 邀请信息不存在。
ResourceNotFound.MemberEventNotExist 操作事件不存在。
ResourceNotFound.MemberIdentityNotExist 成员可授权身份不存在。
ResourceNotFound.MemberNotExist 成员不存在。
ResourceNotFound.MemberOperateProcessNotExist 成员操作审批不存在。
ResourceNotFound.MemberPolicyNotExist 组织成员策略不存在。
ResourceNotFound.NodeNotExist 企业组织单元不存在。
ResourceNotFound.NotFound 资源不存在。
ResourceNotFound.OrganizationAuthRelationNotExist 认证主体不存在。
ResourceNotFound.OrganizationIdentityNotExist 组织身份不存在。
ResourceNotFound.OrganizationMemberNotExist 组织成员不存在。
ResourceNotFound.OrganizationNodeNotExist 组织节点不在。
ResourceNotFound.OrganizationNotExist 企业组织不存在。
ResourceNotFound.OrganizationServiceAssignNotExist 集团服务委派不存在。
ResourceNotFound.OrganizationServiceNotExist 集团服务不存在。
ResourceNotFound.PolicyIdNotFound 策略不存在。
ResourceNotFound.PolicyNotExist 策略不存在。
ResourceNotFound.ResourceTypeNotExist 可共享资源类型不存在。
ResourceNotFound.ServiceRoleNotExist 组织服务角色不存在。
ResourceNotFound.ShareResourceMemberNotExist 共享资源成员信息不存在。
ResourceNotFound.UserNotExist 用户不存在。
UnsupportedOperation.AbnormalFinancialStatusOfAdmin 代付者财务状态异常,不支持代付费。
UnsupportedOperation.AddDelegatePayerNotAllow 不允许添加代付关系。
UnsupportedOperation.AddDiscountInheritNotAllow 不允许添加优惠继承关系。
UnsupportedOperation.CreateMemberNotAllowCreateOrganization 创建的成员不允许创建组织。
UnsupportedOperation.CreateMemberNotAllowDelete 创建的成员不允许移除组织。
UnsupportedOperation.CreateMemberNotAllowQuit 创建的成员不允许退出。
UnsupportedOperation.DeleteAccountDisabled 成员删除许可未开启。
UnsupportedOperation.DeleteDelegatePayerNotAllow 不允许删除代付关系。
UnsupportedOperation.ExistedAgent 成员或者代付者存在经销商。
UnsupportedOperation.ExistedClient 成员或者代付者存在经销商子客。
UnsupportedOperation.InconsistentUserTypes 用户类型不一致。
UnsupportedOperation.InviteAccountNotAllowDelete 邀请的成员不允许删除。
UnsupportedOperation.ManagementSystemError 调用经管系统报错。
UnsupportedOperation.MemberAccountArrears 成员账户欠费。
UnsupportedOperation.MemberAccountExistResource 成员账号存在资源,不允许删除。
UnsupportedOperation.MemberDiscountInheritExisted 成员存在优惠继承。
UnsupportedOperation.MemberExistAccountLevelDiscountInherit 成员存在账户级优惠。
UnsupportedOperation.MemberExistOperateProcessNotAllowDelete 成员设置了操作审批,不允许删除。
UnsupportedOperation.MemberExistServiceNotAllowDelete 成员是集团服务委派管理员,不允许退出组织。
UnsupportedOperation.MemberIsAgent 账号是代理商或代客。
UnsupportedOperation.MemberNoPayment 成员没有绑卡。
UnsupportedOperation.MemberNotAllowQuit 成员不支持主动退出。
UnsupportedOperation.MemberUnsupportedOperation 成员不支持操作。
UnsupportedOperation.OrderInProgressExisted 存在在途订单。
UnsupportedOperation.OwnerDiscountInheritExisted 管理员存在优惠继承。
UnsupportedOperation.PayerArrearsAndNoCreditAccount 代付者欠费且未开通信用账户。
UnsupportedOperation.PayerExistAccountLevelDiscountInherit 代付者存在账户级优惠。
UnsupportedOperation.SecondaryDistributorSubClientExisted 存在二级经销商子客,不支持代付费。