
# 错误码
当您调用API时，如果遇到"APIGW"开头的错误码，请参见[API网关错误码](https://support.huaweicloud.com/devg-apisign/api-sign-errorcode.html)进行处理。
更多服务错误码请参见[API错误中心](https://apierrorcenter.developer.huaweicloud.com/apierrorcenter)。
| 状态码 | 错误码                | 错误信息                                                                        | 描述                                             | 处理措施                       |
|:---|:---|:---|:---|:---|
| 400 | RMS.00010001       | some region is restricted to access.                                        | 区域非法。                                          | 请检查请求参数。                   |
| 400 | RMS.00010002       | resource type invalid.                                                      | 资源类型非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010003       | service invalid.                                                            | 服务非法。                                          | 请检查请求参数。                   |
| 400 | RMS.00010004       | invalid parameter.                                                          | 不合法的参数。                                        | 请检查请求参数。                   |
| 400 | RMS.00010007       | The max length of domainId must be less than or equal to 36.                | domainId的长度必须小于等于36。                           | 请检查账号ID是否正确。               |
| 400 | RMS.00010008       | domainId is illegal.                                                        | domainId非法。                                    | 请检查账号ID是否正确。               |
| 400 | RMS.00010009       | The max length of id must be less than or equal to 512.                     | 资源ID的长度必须小于等于512。                              | 请检查请求参数。                   |
| 400 | RMS.00010010       | id is illegal.                                                              | 资源ID非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010011       | The max length of name must be less than or equal to 256.                   | 资源名称的长度必须小于等于256。                              | 请检查请求参数。                   |
| 400 | RMS.00010012       | name is illegal.                                                            | 资源名称非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010013       | The size of resource type array must be between 1 and 100.                  | 资源类型列表的长度必须介于1和100之间。                          | 请检查请求参数。                   |
| 400 | RMS.00010014       | The max length of resource type must be less than or equal to 40.           | 资源类型的长度必须小于等于40。                               | 请检查请求参数。                   |
| 400 | RMS.00010015       | resource type is illegal.                                                   | 资源类型非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010016       | The size of region id array must be between 1 and 10.                       | 区域ID列表的长度必须介于1和10之间。                           | 请检查请求参数。                   |
| 400 | RMS.00010017       | The max length of region id must be less than or equal to 36.               | 区域ID的长度必须小于等于36。                               | 请检查请求参数。                   |
| 400 | RMS.00010018       | region id is illegal.                                                       | 区域ID非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010019       | The size of enterprise project array must be between 1 and 10.              | 企业项目列表的长度必须介于1和10之间。                           | 请检查请求参数。                   |
| 400 | RMS.00010020       | enterprise project is invalid.                                              | 无效的企业项目。                                       | 请检查请求参数。                   |
| 400 | RMS.00010021       | The max length of project id array must be between 1 and 10.                | 项目ID列表的长度必须介于1和10之间。                           | 请检查请求参数。                   |
| 400 | RMS.00010022       | The max length of project id must be less than or equal to 36.              | 项目ID的长度必须小于等于36。                               | 请检查请求参数。                   |
| 400 | RMS.00010023       | project id is illegal.                                                      | 项目ID非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010024       | The minimum value of limit must be greater than or equal to 1.              | 分页限制值必须大于等于1。                                  | 请检查请求参数。                   |
| 400 | RMS.00010025       | The maximum value of limit must be less than or equal to 200.               | 分页限制值必须小于等于200。                                | 请检查请求参数。                   |
| 400 | RMS.00010026       | The minimum value of offset must be greater than or equal to 1.             | 偏移值必须大于等于1。                                    | 请检查请求参数。                   |
| 400 | RMS.00010027       | The maximum value of offset must be less than or equal to 1000.             | 偏移值必须小于等于1000。                                 | 请检查请求参数。                   |
| 400 | RMS.00010028       | The number of tag keys must be between 1 and 5.                             | 不同标签键的数量必须介于1和5之间。                             | 请检查请求参数。                   |
| 400 | RMS.00010029       | The length of a tag key must be less than or equal to 128.                  | 标签的键名长度必须小于等于128。                              | 请检查请求参数。                   |
| 400 | RMS.00010030       | The number of values in a tag key must be less than or equal to 5.          | 同一标签键的键值数量必须小于等于5。                             | 请检查请求参数。                   |
| 400 | RMS.00010031       | The length of a tag value must be less than or equal to 255.                | 标签的键值长度必须小于等于255。                              | 请检查请求参数。                   |
| 400 | RMS.00010032       | Tag value is illegal.                                                       | 标签键值非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010033       | Tag key is illegal.                                                         | 标签键名非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010034       | marker is illegal.                                                          | 标记非法。                                          | 请检查请求参数。                   |
| 400 | RMS.00010035       | The length of marker must be between 4 and 400.                             | 标记长度必须介于4和400之间。                               | 请检查请求参数。                   |
| 400 | RMS.00010036       | The minimum value of limit must be greater than or equal to 1.              | 分页限制值必须大于等于1。                                  | 请检查请求参数。                   |
| 400 | RMS.00010037       | The maximum value of limit must be less than or equal to 200.               | 分页限制值必须小于等于200。                                | 请检查请求参数。                   |
| 400 | RMS.00010038       | The minimum value of offset must be greater than or equal to 1.             | 偏移值必须大于等于1。                                    | 请检查请求参数。                   |
| 400 | RMS.00010039       | The maximum value of offset must be less than or equal to 1000.             | 偏移值必须小于等于1000。                                 | 请检查请求参数。                   |
| 400 | RMS.00010040       | The max length of auth action must be less than or equal to 64.             | 操作的长度必须小于等于64。                                 | 请检查请求参数。                   |
| 400 | RMS.00010041       | policy assignment id is illegal.                                            | policyAssignmentId非法。                          | 请检查请求参数。                   |
| 400 | RMS.00010042       | policy definition id is illegal.                                            | policyDefinitionId非法。                          | 请检查请求参数。                   |
| 400 | RMS.00010043       | The max length of policy assignment id must be less than or equal to 36.    | policyAssignmentId的长度必须小于等于36。                 | 请检查请求参数。                   |
| 400 | RMS.00010044       | The max length of policy definition id must be less than or equal to 36.    | policyDefinitionId的长度必须小于等于36。                 | 请检查请求参数。                   |
| 400 | RMS.00010045       | The max length of name must be less than or equal to 64.                    | 名称的长度必须小于等于64。                                 | 请检查请求参数。                   |
| 400 | RMS.00010046       | name is illegal.                                                            | 名称非法。                                          | 请检查请求参数。                   |
| 400 | RMS.00010047       | The max length of keyword must be less than or equal to 64.                 | 关键字的长度必须小于等于64。                                | 请检查请求参数。                   |
| 400 | RMS.00010048       | keyword is illegal.                                                         | 关键字非法。                                         | 请检查请求参数。                   |
| 400 | RMS.00010049       | The max length of compliance state must be less than or equal to 16.        | 合规状态的长度必须小于等于16。                               | 请检查请求参数。                   |
| 400 | RMS.00010050       | compliance state is illegal.                                                | 合规状态非法。                                        | 请检查请求参数。                   |
| 400 | RMS.00010051       | The max length of policy assignment state must be less than or equal to 16. | 合规策略状态的长度必须小于等于16。                             | 请检查请求参数。                   |
| 400 | RMS.00010052       | policy assignment state is illegal.                                         | 合规策略状态非法。                                      | 请检查请求参数。                   |
| 400 | RMS.00010053       | X-Language header is invalid.                                               | 非法的X-Language请求头。                              | 请检查请求参数。                   |
| 400 | RMS.00010054       | The max length of queryId must be less than or equal to 36.                 | QueryId的长度必须小于等于36。                            | 请检查请求参数。                   |
| 400 | RMS.00010055       | QueryId is illegal.                                                         | QueryId非法。                                     | 请检查请求参数。                   |
| 400 | RMS.00010056       | The minimum value of limit must be greater than or equal to 1.              | 分页限制值必须大于等于1。                                  | 请检查请求参数。                   |
| 400 | RMS.00010057       | The maximum value of limit must be less than or equal to 200.               | 分页限制值必须小于等于200。                                | 请检查请求参数。                   |
| 400 | RMS.00010058       | marker is illegal.                                                          | marker标记非法。                                    | 请检查请求参数。                   |
| 400 | RMS.00010059       | The length of marker must be between 4 and 400.                             | marker标记长度必须介于4和400之间。                         | 请检查请求参数。                   |
| 400 | RMS.00010060       | Incorrect resource query language.                                          | 错误的高级查询语句。                                     | 检查高级查询语句是否正确。              |
| 400 | RMS.00010061       | Stored query name is illegal.                                               | 高级查询名称非法。                                      | 请检查请求参数。                   |
| 400 | RMS.00010062       | The length of stored query name must be between 1 and 64.                   | 高级查询名称长度必须介于1和64之间。                            | 请检查请求参数。                   |
| 400 | RMS.00010064       | Organization_id is illegal.                                                 | organization_id非法。                             | 请检查请求参数。                   |
| 400 | RMS.00010065       | Organization_id length must be between 1 and 34.                            | organization_id长度必须小于等于34。                     | 请检查请求参数。                   |
| 400 | RMS.00010066       | Organization_policy_assignment_id is illegal.                               | organization_policy_assignment_id非法。           | 请检查请求参数。                   |
| 400 | RMS.00010067       | Organization_policy_assignment_id length must be between 1 and 32.          | organization_policy_assignment_id长度必须小于等于32。   | 请检查请求参数。                   |
| 400 | RMS.00010068       | Organization_policy_assignment_name is illegal.                             | organization_policy_assignment_name非法。         | 请检查请求参数。                   |
| 400 | RMS.00010069       | Organization_policy_assignment_name must be between 1 and 64.               | organization_policy_assignment_name长度必须小于等于64。 | 请检查请求参数。                   |
| 400 | RMS.00010070       | The aggregator is not found.                                                | 聚合器不存在。                                        | 请检查请求参数。                   |
| 400 | RMS.00010071       | Aggregator_id is illegal.                                                   | aggregator_id非法。                               | 请检查请求参数。                   |
| 400 | RMS.00010072       | Aggregator_id length must be between 1 and 32.                              | aggregator_id长度必须小于等于32。                       | 请检查请求参数。                   |
| 400 | RMS.00010073       | Authorized_account_id is illegal.                                           | authorized_account_id非法。                       | 请检查请求参数。                   |
| 400 | RMS.00010074       | Authorized_account_id length must be between 1 and 36.                      | authorized_account_id长度必须小于等于36。               | 请检查请求参数。                   |
| 400 | RMS.00010075       | Requester_account_id is illegal.                                            | requester_account_id非法。                        | 请检查请求参数。                   |
| 400 | RMS.00010076       | Requester_account_id length must be between 1 and 36.                       | requester_account_id长度必须小于等于36。                | 请检查请求参数。                   |
| 400 | RMS.00010077       | Aggregator_name is illegal.                                                 | aggregator_name非法。                             | 请检查请求参数。                   |
| 400 | RMS.00010078       | Aggregator_name length must be between 1 and 64.                            | aggregator_name长度必须小于等于64。                     | 请检查请求参数。                   |
| 400 | RMS.00010080       | Aggregator_update_status length must be between 1 and 16.                   | aggregator_update_status长度必须小于16。              | 请检查请求参数。                   |
| 400 | RMS.00010081       | The maximum value of limit is 2000.                                         | 分页限制值必须小于等于2000。                               | 请检查请求参数。                   |
| 400 | RMS.00010082       | The number of aggregators exceed quota.                                     | 聚合器数量超过配额，组织聚合器上限数量为1，账号聚合器上限数量为30。            | 请检查资源聚合器剩余配额。              |
| 400 | RMS.00010083       | Conformance_pack_name is illegal.                                           | 合规规则包名称非法。                                     | 请检查请求参数。                   |
| 400 | RMS.00010084       | Conformance_pack_name length must be between 1 and 64.                      | 合规规则包名称长度必须小于等于64。                             | 请检查请求参数。                   |
| 400 | RMS.00010085       | Conformance_pack_id is illegal.                                             | 合规规则包ID非法。                                     | 请检查请求参数。                   |
| 400 | RMS.00010086       | Conformance_pack_id length must be between 1 and 36.                        | 合规规则包ID长度必须小于等于36。                             | 请检查请求参数。                   |
| 400 | RMS.00010087       | Template_key is illegal.                                                    | 预定义合规规则包模板的名称非法。                               | 请检查请求参数。                   |
| 400 | RMS.00010088       | Template_key length must be between 1 and 128.                              | 预定义合规规则包模板的名称长度必须小于等于128。                      | 请检查请求参数。                   |
| 400 | RMS.00010089       | Template_id is illegal.                                                     | 预定义合规规则包模板的ID非法。                               | 请检查请求参数。                   |
| 400 | RMS.00010090       | Template_id length must be between 1 and 36.                                | 预定义合规规则包模板的ID长度必须小于等于36。                       | 请检查请求参数。                   |
| 400 | RMS.00010091       | The tracker-config is not enabled.                                          | 资源记录器未开启。                                      | 请开启资源记录器。                  |
| 400 | RMS.00010092       | The number of accounts operated by the aggregator exceeds the limit.        | 聚合器操作超过限制，账号聚合器七天内增加或删除的最大账户数为1000。            | 请检查七天内增加或删除的最大账户数是否超过1000。 |
| 400 | RMS.00010093       | Exceeded limit on organization aggregator operations.                       | 聚合器操作超过限制，组织聚合器一天内新增最大数为1。                     | 请检查一天内创建的组织聚合器个数。          |
| 400 | RMS.00010101       | The maximum value of limit must be less than or equal to 500.               | 分页限制值必须小于等于500。                                | 请检查请求参数。                   |
| 401 | RMS.00010079       | Incorrect IAM authentication information: Authorization header is missing.  | IAM认证错误：缺少Authorization header。                | 请添加认证header。               |
| 403 | RMS.00010006       | access denied.                                                              | 访问拒绝。                                          | 请检查权限是否正确。                 |
| 404 | RMS.00010005       | resource not found.                                                         | 资源未找到。                                         | 请检查资源是否存在。                 |
| 429 | RMS.00010063       | ResourceQL is busy.                                                         | 高级查询繁忙中。                                       | 请稍后重试。                     |
| 500 | RMS.INTERNAL.ERROR | Internal server error occurred.                                             | 服务内部错误。                                        | 请稍后再试或联系客服。                |
   
