文档简介:
错误码列表
HTTP响应码 |
错误码(code) |
错误信息(message) |
错误描述 |
409 |
EntityAlreadyExists |
Group with name <groupName> already exists. |
用户组已经存在。 |
409 |
LimitExceeded |
Cannot exceed quota for GroupsPerAccount: 30. |
用户组的数量超过了最大限制。 |
400 |
ValidationError |
1 validation errors detected: Value '<groupName>' at 'groupName' failed to satisfy constraint: Member must have length less than or equal to 128 |
用户组名称长度超过限制。 |
400 |
ValidationError |
1 validation errors detected: Value null at 'groupName' failed to satisfy constraint: Member must not be null |
用户组名为空。 |
409 |
DeleteConflict |
Cannot delete entity, must remove users from group first. |
删除用户组之前,要先删除用户组中的用户。 |
409 |
DeleteConflict |
Cannot delete entity, must detach all policies first. |
删除用户组之前,要先删除用户组上的策略。 |
404 |
NoSuchEntity |
The group with name <groupName> cannot be found. |
用户组不存在。 |
403 |
AccessDenied |
User: <userArn> is not authorized to perform: iam:RemoveUserFromGroup on resource: <groupArn>. |
用户没有从用户组中移除用户的权限。 |
404 |
NoSuchEntity |
The user with name <userName> cannot be found. |
用户不存在。 |
400 |
InvalidAction |
Could not find operation <APIName> for version <version>. |
Version错误。 |
400 |
MalformedInput |
Invalid Argument. |
参数不正确。 |
400 |
ValidationError |
The specified value for groupName is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_- |
创建用户组时,名称不正确,包含非法字符。 |
409 |
EntityAlreadyExists |
User with name <userName> already exists. |
试图创建的用户名已经存在。 |
400 |
ValidationError |
1 validation error detected: Value '<userName>' at 'userName' failed to satisfy constraint: Member must have length less than or equal to 64 |
userName长度超过限制。 |
409 |
LimitExceeded |
Cannot exceed quota for UsersPerAccount: 500. |
用户数量超过限制。 |
409 |
DeleteConflict |
Cannot delete entity, must remove users from group first.
|
用户属于某个用户组时,不允许删除。 |
409 |
DeleteConflict |
Cannot delete entity, must delete login profile first.
|
用户有登录密码时,不允许删除。 |
409 |
DeleteConflict |
Cannot delete entity, must detach all policies first.
|
用户分配了策略时,不允许删除。 |
409 |
DeleteConflict |
Cannot delete entity, must delete access keys first. |
用户有AccessKey/SecretKey时,不允许删除。 |
403 |
AccessDenied |
User: <userArn> is not authorized to perform: iam:DeleteAccessKey on resource: <userArn>. |
没有权限删除AK。 |
400 |
ValidationError |
1 validation error detected: Value 'InActive' at 'status' failed to satisfy constraint: Member must satisfy enum value set: [Active, Inactive] |
AccessKey的状态设置的不对。 |
404 |
NoSuchEntity |
The Access Key with id 535d97103885f22be7m1 cannot be found. |
AccessKey不存在。 |
404 |
NoSuchEntity |
The user with name <userName> cannot be found. |
该用户不存在。 |
400 |
PasswordPolicyViolation |
Password does not conform to the account password policy. |
更改密码时,密码不符合密码策略。 |
403 |
AccessDenied |
The old password was incorrect. |
更改密码时,旧密码不正确。 |
400 |
ValidationError |
Value at 'oldPassword' failed to satisfy constraint: Member must satisfy regular expression pattern: [\u0009\u000A\u000D\u0020-\u00FF]+ |
更改密码时,密码是空字符串。 |
400 |
PasswordPolicyViolation |
Policy constraint violation with password reuse prevention during password change. |
该密码和历史密码重复。 |
403 |
AccessDenied |
Only IAM Users can change their own password. |
root用户调用ChangePassword方法。 |
404 |
NoSuchEntity |
Login Profile for User <userName> cannot be found. |
用户无密码。 |
409 |
EntityAlreadyExists |
Login Profile for user <userName> already exists. |
用户的密码已经存在。 |
403 |
InvalidAuthenticationCode |
Authentication code for device is not valid. |
MFA身份认证码不正确。 |
409 |
EntityAlreadyExists |
MFADevice entity at the same path and name already exists. |
MFA设备已经存在。 |
400 |
ValidationError |
The specified value for authenticationCode1/ authenticationCode2 is invalid. It must be a six-digit decimal number |
设置的MFA code 格式不正确。 |
404 |
NoSuchEntity |
MFA Device invalid for user. |
DeactivateMFA设备时,MFA设备未分配给用户。 |
404 |
NoSuchEntity |
VirtualMFADevice with serial number <mfaArn> does not exist. |
MFA设备不存在。 |
409 |
LimitExceeded |
Cannot exceed quota limit for MFADevicesPerUser. |
为用户分配的MFA超过上限。 |
400 |
ValidationError |
2 validation errors detected: Value '1' at 'minimumPasswordLength' failed to satisfy constraint: Member must have value greater than or equal to 6; Value '2000' at 'maxPasswordAge' failed to satisfy constraint: Member must have value less than or equal to 1095 |
设置密码策略时,策略选项的值不合法。 |
400 |
ValidationError |
1 validation error detected: Value null at 'tags' failed to satisfy constraint: Member must not be null |
添加标签时,没有设置标签。 |
400 |
ValidationError |
1 validation error detected: Value null at 'tags.1.member.key' failed to satisfy constraint: Member must not be null |
添加标签时,没有设置标签的Key。 |
400 |
ValidationError |
1 validation error detected: Value null at 'tags.1.member.value' failed to satisfy constraint: Member must not be null |
添加标签时,没有设置标签的value。 |
409 |
LimitExceeded |
The number of tags has reached the maximum limit. |
添加标签时,标签数量超过限制。 |
400 |
ValidationError |
4 validation errors detected: Value null at 'tags.1.member.value' failed to satisfy constraint: Member must not be null; Value null at 'tags.1.member.key' failed to satisfy constraint: Member must not be null; Value null at 'tags.2.member.value' failed to satisfy constraint: Member must not be null; Value null at 'tags.2.member.key' failed to satisfy constraint: Member must not be null |
设置标签时,如果N未从1开始(例如从3开始),会提示1到N-1的标签没有设置。 |
400 |
ValidationError |
2 validation errors detected: Value 'test_value?' at 'tags.1.member.value' failed to satisfy constraint: Member must satisfy regular expression pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]*; Value 'test_key?' at 'tags.1.member.key' failed to satisfy constraint: Member must satisfy regular expression pattern: [\p{L}\p{Z}\p{N}_.:/=+\-@]+ |
创建用户时,标签名称或值非法。 |
400 |
ValidationError |
1 validation error detected: Value '<key>' at 'tags.1.member.key' failed to satisfy constraint: Member must have length less than or equal to 128 |
标签名称长度超长。 |
400 |
ValidationError |
1 validation error detected: Value '<value>' at 'tags.1.member.value' failed to satisfy constraint: Member must have length less than or equal to 256 |
标签值长度超长。 |
400 |
MalformedInput |
<N> is not a valid index.
|
标签的N非法。 |
400 |
ValidationError |
The specified value for 'serialNumber' is invalid. |
MFA设备的序列号不正确。 |
409 |
EntityAlreadyExists |
MFA Device is already in use. |
EnableMFADevice时,MFA设备已被启用。 |
409 |
DeleteConflict |
MFA VirtualDevice in use. Must deactivate first. |
MFA设备正在被使用,不能删除。 |
400 |
ValidationError |
1 validation error detected: Value '11111' at 'assignmentStatus' failed to satisfy constraint: Member must satisfy enum value set: [Unassigned, Any, Assigned] |
ListVirtualMFADevicesResult时,assignmentStatus输入不对。 |
409 |
DeleteConflict |
Cannot delete entity, must delete MFA device first. |
DeleteUser时,必须先删除MFA设备。 |
400 |
InvalidInput |
Duplicate tag keys found. Please note that Tag keys are case insensitive. |
设置了重复的标签key。 |
409 |
LimitExceeded |
Cannot exceed quota for AccessKeysPerUser: 2 . |
AK数量超过限制 |
409 |
LimitExceeded |
Cannot exceed quota for AccessKeysPerAccount: 2. |
根用户数量密钥超过限制。 |
400 |
ValidationError |
The specified value for 'marker' is invalid. It must contain only printable ASCII characters |
list user时,marker参数非法,不是可打印的ASCII码。 |
400 |
ValidationError |
The specified value for 'userName' is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_- |
创建用户时,名称不正确,使用了非法字符。 |
404 |
NoSuchEntity |
Login Profile for User <userName> cannot be found. |
调用UpdateLoginProfile时,被修改用户没有密码。 |
404 |
NoSuchEntity |
The Password Policy with domain name <accountId> cannot be found. |
删除密码策略时,没有用户自己创建的密码策略。 |
400 |
ValidationError |
1 validation error detected: Value null at 'policyDocument' failed to satisfy constraint: Member must not be null |
创建策略时,policyDocument为空。 |
409 |
LimitExceeded |
Cannot exceed quota for PoliciesPerAccount: 150. |
策略数量超过限制。 |
404 |
NoSuchEntity |
Policy arn:ctyun:iam::10rc2arpn6308:policy/test_2policy does not exist or is not attachable. |
策略不存在。 |
409 |
LimitExceeded |
Cannot exceed quota for PoliciesPerGroup: 10. |
用户组关联的策略数量超过限制。 |
409 |
LimitExceeded |
Cannot exceed quota for PoliciesPerUser: 10. |
用户关联的策略数量超过限制。 |
403 |
AccessDenied |
Policy is outside your own account. |
arn中的账户id和不是请求者的账户id。 |
400 |
InvalidInput |
Arn <policyArn> is not valid. |
策略的Arn不合法。 |
400 |
ValidationError |
1 validation error detected: Value '<entityFilter>' at 'entityFilter' failed to satisfy constraint: Member must satisfy enum value set: [User, Group] |
ListEntitiesForPolicy时,EntityFilter不正确,不是User或Group.
|
409 |
DeleteConflict |
Cannot delete a policy attached to entities. |
policy有被附加到用户或用户组,不能删除。 |
400 |
ValidationError |
The specified value for 'policyName' is invalid. It must contain only alphanumeric characters and/or the following: +=,.@_- |
名称不正确,包含非法字符。 |
400 |
MalformedPolicyDocument |
The policy must contain a valid version string |
创建策略时,版本不正确。 |
400 |
MalformedPolicyDocument |
Missing required field Effect |
创建策略时,策略没有Effect。 |
400 |
MalformedPolicyDocument |
Invalid effect: Allow1 |
创建策略时,Effect不正确。 |
400 |
MalformedPolicyDocument |
Missing required field Action. |
创建策略时,Action缺失。 |
400 |
MalformedPolicyDocument |
Required field Action cannot be empty.
|
创建策略时,有Action,但是Action是空。 |
400 |
MalformedPolicyDocument |
Statement/policy already has instance of Action |
创建策略时,Action和NotAction都有时,报错。 |
400 |
MalformedPolicyDocument |
Missing required field Resource. |
创建策略时,Resource字段缺失。 |
400 |
MalformedPolicyDocument |
Required field Resource cannot be empty.
|
创建策略时,有Resouce,但是Resource是空。 |
400 |
MalformedPolicyDocument |
Statement/policy already has instance of Resource. |
创建策略时,Resouce和NotResource都有 |
400 |
MalformedPolicyDocument |
Invalid Condition type : <condition> |
创建策略时,条件运算符或者条件键不正确。 |
403 |
InvalidAccessKeyId |
The AccessKeyId is invalid. |
密钥无效。 |
500 |
InternalError |
We encountered an internal error. Please try again. |
发生内部错误 |