Error Codes
If an error code starting with APIGW is returned after you call an API, rectify the fault by referring to the instructions provided in Error Codes.
Status Code |
Error Code |
Error Message |
Description |
Measure |
---|---|---|---|---|
400 |
1100 |
Mandatory parameters are not specified. |
Mandatory parameters are not specified. |
Check the request parameters. |
400 |
1101 |
Invalid username. |
Invalid username. |
Check the username. |
400 |
1102 |
Invalid email address. |
Invalid email address. |
Check the email address. |
400 |
1103 |
Incorrect password. |
Incorrect password. |
Check the password. |
400 |
1104 |
Invalid mobile number. |
Invalid mobile number. |
Check the mobile number. |
400 |
1105 |
The value of xuser_type must be the same as that of xdomain_type. |
The value of xuser_type must be the same as that of xdomain_type. |
Check whether the value of xuser_type is the same as that of xdomain_type. |
400 |
1106 |
The country code and mobile number must be set at the same time. |
The country code and mobile number must be set at the same time. |
Check whether the country code and mobile number have been both specified. |
400 |
1107 |
The account administrator cannot be deleted. |
The account administrator cannot be deleted. |
This operation is not allowed. |
400 |
1108 |
The new password must be different from the old password. |
The new password must be different from the old password. |
Enter another password. |
400 |
1109 |
The username already exists. |
The username already exists. |
Modify the username. |
400 |
1110 |
The email address has already been used. |
The email address has already been used. |
Enter another email address. |
400 |
1111 |
The mobile number has already been used. |
The mobile number has already been used. |
Enter another mobile number. |
400 |
1113 |
The values of xuser_id and xuser_type already exist. |
The values of xuser_id and xuser_type already exist. |
Modify the values of xuser_id and xuser_type. |
400 |
1115 |
The number of IAM users has reached the maximum allowed limit. |
The number of IAM users has reached the maximum allowed limit. |
Modify the user quota or contact technical support. |
400 |
1117 |
Invalid user description. |
Invalid user description. |
Modify the user description. |
400 |
1118 |
The password is weak. |
The password is weak. |
Enter another password. |
400 |
IAM.0007 |
Request parameter %(key)s is invalid. |
The request parameter is invalid. |
Check the request parameter. |
400 |
IAM.0008 |
Please scan the QR code first. |
Scan the QR code first. |
Scan the QR code first. |
400 |
IAM.0009 |
X-Subject-Token is invalid in the request. |
X-Subject-Token in the request is invalid. |
Check the request parameter. |
400 |
IAM.0010 |
The QR code has already been scanned by another user. |
The QR code has already been scanned by someone else. |
No action is required. |
400 |
IAM.0011 |
Request body is invalid. |
The request body is invalid. |
Check the request body. |
400 |
IAM.0072 |
'%(key)s' is a required property. |
The request is invalid. For example, %(key)s is required. |
Contact technical support. |
400 |
IAM.0073 |
Invalid input for field '%(key)s'. The value is '%(value)s'. |
The input is invalid. |
Contact technical support. |
400 |
IAM.0077 |
Invalid policy type. |
The policy type is invalid. |
Contact technical support. |
400 |
IAM.1000 |
The role must be a JSONObject. |
The role object is missing. |
Check whether the request body contains the role object. |
400 |
IAM.1001 |
The display_name must be a string and cannot be left blank or contain spaces. |
The value of display_name is empty or contains spaces. |
Check whether the value of display_name is correct. |
400 |
IAM.1002 |
The length [input length] of the display name exceeds 64 characters. |
The display_name field cannot exceed 64 characters. |
Check the length of the display_name field. |
400 |
IAM.1003 |
The display_name contains invalid characters. |
The display_name field contains invalid characters. |
Check whether the value of display_name is correct. |
400 |
IAM.1004 |
The type must be a string and cannot be left blank or contain spaces. |
The type field is empty. |
Check whether the value of type is correct. |
400 |
IAM.1005 |
Invalid type [input type]. |
The type field is invalid. |
Check whether the value of type is correct. |
400 |
IAM.1006 |
The custom policy does not need a catalog. |
Custom policies cannot contain the catalog field. |
Delete the catalog field. |
400 |
IAM.1007 |
The custom policy does not need a flag. |
Custom policies cannot contain the flag field. |
Delete the flag field. |
400 |
IAM.1008 |
The custom policy does not need a name. |
Custom policies cannot contain the name field. |
Delete the name field. |
400 |
IAM.1009 |
The type of a custom policy must be 'AX' or 'XA'. |
The type of a custom policy can only be AX or XA. |
Change the value of the type field to AX or XA. |
400 |
IAM.1010 |
The catalog must be a string. |
The value of the catalog field must be a character string. |
Check whether the value of catalog is correct. |
400 |
IAM.1011 |
The length [input length] of the catalog exceeds 64 characters. |
The catalog field cannot exceed 64 characters. |
Check the length of the catalog field. |
400 |
IAM.1012 |
Invalid catalog. |
The catalog field is invalid. |
Check whether the value of catalog is correct. |
400 |
IAM.1013 |
The flag must be a string. |
The value of the flag field must be a character string. |
Check whether the value of flag is correct. |
400 |
IAM.1014 |
The value of the flag must be 'fine_grained'. |
The value of flag is not fine_grained. |
Change the value of flag to fine_grained. |
400 |
IAM.1015 |
The name must be a string and cannot be left blank or contain spaces. |
The name field is empty. |
Specify the name field for system-defined roles. |
400 |
IAM.1016 |
The length of the name [input name] cannot exceed 64 characters. |
The value of name cannot exceed 64 characters. |
Check whether the value of name is correct. |
400 |
IAM.1017 |
Invalid name. |
The name field is invalid. |
Check whether the value of name is correct. |
400 |
IAM.1018 |
Invalid description. |
The description field is invalid. |
Check whether the value of description is correct. |
400 |
IAM.1019 |
Invalid description_cn. |
The description_cn field is invalid. |
Check whether the value of description_cn is correct. |
400 |
IAM.1020 |
The policy must be a JSONObject. |
The policy object is missing. |
Check whether the request body contains the policy object. |
400 |
IAM.1021 |
The size [input policySize] of the policy exceeds 6,144 characters. |
The policy object contains more than 6144 characters. |
Check the length of the policy object. |
400 |
IAM.1022 |
The length [input id length] of the ID exceeds 128 characters. |
The id field contains more than 128 characters. |
Check the length of the id field. |
400 |
IAM.1023 |
Invalid ID '[input id]'. |
The id field of the policy is invalid. |
Check whether the value of id is correct. |
400 |
IAM.1024 |
The version of a fine-grained policy must be '1.1'. |
The version of the fine-grained policy is not 1.1. |
Change the value of version to 1.1. |
400 |
IAM.1025 |
Fine-grained policies do not need depends. |
The fine-grained policy contains the depends field. |
Delete the depends field. |
400 |
IAM.1026 |
The version of an RBAC policy must be '1.0' or '1.1'. |
The version of an RBAC policy can only be 1.0 or 1.1. |
Change the value of version to 1.0 or 1.1. |
400 |
IAM.1027 |
The Statement/Rules must be a JSONArray. |
The statement field is not a JSON array. |
Check whether a JSON array statement exists. |
400 |
IAM.1028 |
The number of statements [input statement size] must be greater than 0 and less than or equal to 8. |
The policy does not contain any statements or contains more than 8 statements. |
Ensure that the policy contains 1 to 8 statements. |
400 |
IAM.1029 |
The value of Effect must be 'allow' or 'deny'. |
The value of effect can only be allow or deny. |
Set the effect field to allow or deny. |
400 |
IAM.1030 |
The Action or NotAction must be a JSONArray. |
The action or notAction field is invalid. |
Check whether the value of action is correct. |
400 |
IAM.1031 |
The Action and NotAction cannot be set at the same time in a statement. |
The action and notAction fields cannot exist at the same time. |
Delete the action or notAction field. |
400 |
IAM.1032 |
The OCP NotAction cannot be 'allow'. |
The notAction field cannot be allow for organization control policies (OCPs). |
Specify the notAction field as deny for OCP policies. |
400 |
IAM.1033 |
The number of actions [input action size] exceeds 100. |
The number of actions exceeds 100. |
Ensure that the number of actions does not exceed 100. |
400 |
IAM.1034 |
The length [input urn length] of an action URN exceeds 128 characters. |
An action contains more than 128 characters. |
Ensure that each action does not exceed 128 characters. |
400 |
IAM.1035 |
Action URN '[input urn]' contains invalid characters. |
The action contains invalid characters. |
Check whether the value of action is correct. |
400 |
IAM.1036 |
Action '[input action]' has not been registered. |
The action has not been registered. |
Register the action using APIs of the registration center. |
400 |
IAM.1037 |
The number of resource URIs [input Resource uri size ] must be greater than 0 and less than or equal to 20. |
Only 1 to 20 resources are allowed. |
Check the number of resources. |
400 |
IAM.1038 |
Resource URI '[input resource uri]' is invalid. Old resources only support agencies. |
The resource URI is invalid. |
Check whether each resource URI is correct. |
400 |
IAM.1039 |
Old policies do not support conditions. |
Old policies cannot contain the condition field. |
Delete the condition field or use the new policy format. |
400 |
IAM.1040 |
The number of resources [input Resource size] must be greater than 0 and less than or equal to 10. |
Only 1 to 10 resource URIs are allowed. |
Check the number of URIs of each resource object. |
400 |
IAM.1041 |
The resource URI cannot be left blank or contain spaces. |
A resource URI is empty. |
Check whether each resource URI is correct. |
400 |
IAM.1042 |
The length [input uri length] of a resource URI exceeds 1,500 characters. |
A resource URI contains more than 1,500 characters. |
Check the length of each resource URI. |
400 |
IAM.1043 |
A region must be specified. |
A region must be specified. |
Specify a region in the resource URI. |
400 |
IAM.1044 |
Region '[input resource region]' of resource '[input resource]' is invalid. |
The region field is invalid. |
Check whether the value of region is correct. |
400 |
IAM.1045 |
Resource URI '[input resource uri]' or service '[input resource split]' is invalid. |
The service name in the resource URI is invalid. |
Check whether the service name is correct or register the service first. |
400 |
IAM.1046 |
Resource URI '[input resource]' or resource type '[input resource split]' is invalid. |
The resource type in the resource URI is invalid. |
Check whether the resource type is correct or register the resource type first. |
400 |
IAM.1047 |
Resource URI '[input resource uri]' contains invalid characters. |
The resource URI is invalid. |
Check whether the resource URI is correct. |
400 |
IAM.1048 |
Resource URI '[input resource uri]' is too long or contains invalid characters. |
The resource URI contains invalid characters. |
Check whether the id field contains invalid characters. |
400 |
IAM.1049 |
The Resource must be a JSONObject or JSONArray. |
The resource object is missing. |
Check whether the resource object is a JSON array. |
400 |
IAM.1050 |
The number of conditions [input condition size] must be greater than 0 and less than or equal to 10. |
Only 1 to 10 conditions are allowed. |
Specify at least one condition or delete unused conditions. |
400 |
IAM.1051 |
The values of Operator '[input operator]' cannot be null. |
No operator is specified. |
Enter a correct operator. |
400 |
IAM.1052 |
Invalid Attribute '[input attribute ]'. |
The attribute is invalid. |
Check the attribute value. |
400 |
IAM.1053 |
Attribute '[input attribute]' must be a JSONArray. |
The attribute is not a JSON array. |
Check whether the attribute object is a JSON array. |
400 |
IAM.1054 |
The number [input attribute size ] of attributes '[input attribute]' for operator '[input operator]' must be greater than 0 and less than or equal to 10. |
Each operator can only be used together with 1 to 10 attributes. |
Check whether the number of attributes for each operator is correct. |
400 |
IAM.1055 |
Attribute '[input attribute ]' does not match operator '[input operator]'. |
The attribute does not match the operator. |
Check whether the attribute and operator match. |
400 |
IAM.1056 |
The length [condition length] of attribute '[input attribute]' for operator '[input operator]' must be greater than 0 and less than or equal to 1024 characters. |
Each condition can contain only 1 to 1024 characters. |
Check the total length of the condition object. |
400 |
IAM.1057 |
Value [input condition] of attribute [input attributes] for operator [input operator] contains invalid characters. |
The condition field contains invalid characters. |
Check whether the condition field contains invalid characters. |
400 |
IAM.1058 |
The number of depends [input policyDepends size] exceeds 20. |
The number of dependent permissions exceeds 20. |
Delete excessive dependent permissions. |
400 |
IAM.1059 |
Invalid key '{}'. |
The policy contains an invalid key. |
Modify or delete the invalid key in the policy request body. |
400 |
IAM.1060 |
The value of key '{}' must be a string. |
The value of this field must be a character string. |
Change the values of display_name and name to character strings. |
400 |
IAM.1061 |
Invalid TOTP passcode. |
The authentication key is invalid. |
Check the request or contact technical support. |
400 |
IAM.1062 |
Login protection has been bound to mfa, the unbinding operation cannot be performed. |
Login protection has been enabled and requires virtual MFA authentication. You cannot unbind the virtual MFA device. |
Check the request or contact technical support. |
400 |
IAM.1101 |
The request body size %s is invalid. |
The size of the request body does not meet the requirements. |
Check whether the request body is empty or larger than 32 KB. |
400 |
IAM.1102 |
The %s in the request body is invalid. |
The value in the request body is incorrect. |
Check the attribute value in the request body by referring to the API Reference. |
400 |
IAM.1103 |
The %s is required in the request body. |
The parameter is required but not specified in the request body. |
Check the request body by referring to the API Reference. |
400 |
IAM.1104 |
The access key %s is in the blacklist. |
The AK in the request has been blacklisted. |
Check whether the AK exists. |
400 |
IAM.1105 |
The access key %s has expired. |
The AK in the request has expired. |
Create a new access key. |
400 |
IAM.1106 |
The user %s with access key %s cannot be found. |
The AK does not have matching user information. |
Check whether the user or agency corresponding to the AK exists. |
400 |
IAM.1107 |
The access key %s is inactive. |
The AK in the request has been disabled. |
Enable the AK. |
400 |
IAM.1108 |
The securitytoken has expired. |
The temporary access key has expired. |
Obtain a new temporary access key. |
400 |
IAM.1109 |
The project information cannot be found. |
No project information can be found. |
Check whether the project specified in the request body or token exists. If the fault persists, contact technical support. |
401 |
IAM.0001 |
The request you have made requires authentication. |
Authentication failed. |
Complete or check the authentication information. |
401 |
IAM.0061 |
Account locked. |
The user has been locked. |
Wait until the user is unlocked. |
401 |
IAM.0062 |
Incorrect password. |
Incorrect password. |
Enter the correct password. |
401 |
IAM.0063 |
Access token authentication failed. |
Access token authentication failed. |
Contact technical support. |
401 |
IAM.0064 |
The access token does not have permissions for the request. |
The IAM user does not have the required permissions. |
Check the permissions of the IAM user. |
401 |
IAM.0065 |
HUAWEI IDs registered in European countries cannot log in to HUAWEI CLOUD. |
HUAWEI ID login is not supported in European sites. |
Log in using a supported account. |
401 |
IAM.0066 |
The token has expired. |
The token has expired. |
Use a valid token. |
401 |
IAM.0067 |
Invalid token. |
Invalid token. |
Enter a valid token. |
403 |
IAM.0002 |
You are not authorized to perform the requested action. |
You do not have permission to perform this action. |
Check whether you have been granted the permissions required to perform this action. |
403 |
IAM.0003 |
Policy doesn't allow %(actions)s to be performed. |
The action is not allowed in the policy. |
Check whether the action is allowed in the policy. |
403 |
IAM.0080 |
The user %s with access key %s is disabled. |
The user corresponding to the AK has been disabled. |
Contact the security administrator of the user. |
403 |
IAM.0081 |
This user only supports console access, not programmatic access. |
The user only has access to the management console. |
Contact the security administrator of the user to change the user's access type. |
403 |
IAM.0082 |
The user %s is disabled. |
The user is disabled. |
Contact the security administrator of the user. |
403 |
IAM.0083 |
You do not have permission to access the private region %s. |
You do not have permission to access private regions. |
Select another region or contact the private region administrator. |
404 |
IAM.0004 |
Could not find %(target)s: %(target_id)s. |
The requested resource cannot be found. |
Check the request or contact technical support. |
409 |
IAM.0005 |
Conflict occurred when attempting to store %(type)s - %(details)s. |
A conflict occurs when the requested resource is saved. |
Check the request or contact technical support. |
410 |
IAM.0020 |
Original auth failover to other regions, please auth downgrade |
The Auth service in the original region is faulty and has switched to another region. |
The system will automatically downgrade the authentication. No action is required. |
429 |
IAM.0012 |
The throttling threshold has been reached. Threshold: %d times per %d seconds |
The throttling threshold has been reached. |
Check the request or contact technical support. |
500 |
IAM.0006 |
An unexpected error prevented the server from fulfilling your request. |
A system error occurred. |
Contact technical support. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot