
# 错误码
当您调用API时，如果遇到"APIGW"开头的错误码，请参见[API网关错误码](https://support.huaweicloud.com/devg-apisign/api-sign-errorcode.html)进行处理。
更多服务错误码请参见[API错误中心](https://apierrorcenter.developer.huaweicloud.com/apierrorcenter)。
| 状态码 | 错误码                | 错误信息                                                                                                                                                     | 描述                                        | 处理措施                                                             |
|:---|:---|:---|:---|:---|
| 401 | Organizations.1001 | This operation can be called only from the management account of an organization.                                                                        | 权限校验失败                                    | 请检查是否是组织的管理账号调用。                                                 |
| 401 | Organizations.1002 | This operation can be called only from the management account of an organization or by a member account that is a delegated administrator for a service. | 权限校验失败                                    | 请检查是否是组织的管理账号或委托管理员账号调用。                                         |
| 409 | Organizations.1003 | Concurrent modification.                                                                                                                                 | 并发修改                                      | 请稍后重试。                                                           |
| 400 | Organizations.1004 | Bad request for generate organizations service management token.                                                                                         | 生成组织管理员token请求错误                          | 请稍后重试，如果再次失败请联系管理员。                                              |
| 400 | Organizations.1005 | Bad request for query cbc em info.                                                                                                                       | 查询企业多账号请求失败                               | 请确认是否是企业多账号的主账号或子账号。                                             |
| 400 | Organizations.1006 | Bad request for generate assume-role token.                                                                                                              | 升级权限失败                                    | 请稍后重试，如果再次失败请联系管理员。                                              |
| 403 | Organizations.1007 | Policy doesn't allow '{0}' to be performed.                                                                                                              | 细粒度鉴权失败                                   | 请检查用户有接口访问权限。                                                    |
| 400 | Organizations.1008 | Bad request for checking permission.                                                                                                                     | 细粒度鉴权请求错误                                 | 请联系管理员。                                                          |
| 400 | Organizations.1009 | Bad request for impersonate.                                                                                                                             | 切换角色请求错误                                  | 请联系管理员。                                                          |
| 404 | Organizations.1010 | Not found for http header.                                                                                                                               | 请求头不存在                                    | 请检查是否满足调用接口所需的全部请求头。                                             |
| 400 | Organizations.1011 | Bad request for invalid user profile.                                                                                                                    | 无效用户配置文件的错误请求                             | 请联系管理员。                                                          |
| 400 | Organizations.1012 | Bad request for invalid context attributes.                                                                                                              | 对无效上下文属性的错误请求                             | 请联系管理员。                                                          |
| 400 | Organizations.1013 | Bad request for invalid marker.                                                                                                                          | marker参数非法                                | 请检查marker参数是否合法传入。                                               |
| 400 | Organizations.1014 | Bad request for request proof.                                                                                                                           | proof请求头非法                                | 请检查proof请求头是否合法传入。                                               |
| 401 | Organizations.1015 | This operation can be called from any account in the organization.                                                                                       | 权限校验失败                                    | 请检查是否是组织的成员账号调用。                                                 |
| 400 | Organizations.1016 | Bad request for domain tags.                                                                                                                             | 获取账号标签失败                                  | 请联系管理员。                                                          |
| 400 | Organizations.1017 | Bad request for get projects.                                                                                                                            | 获取账号的项目信息失败                               | 请联系管理员。                                                          |
| 401 | Organizations.1018 | This operation can be called only from the organization's member account.                                                                                | 权限校验失败                                    | 请检查是否是组织的普通成员账号调用。                                               |
| 400 | Organizations.1019 | Bad request for query iam domain info.                                                                                                                   | 获取用户信息失败                                  | 请联系管理员。                                                          |
| 400 | Organizations.1020 | SSL check failed.                                                                                                                                        | 证书校验失败                                    | 请联系管理员。                                                          |
| 400 | Organizations.1021 | Bad request for authorization header pattern.                                                                                                            | token请求头非法                                | 请检查authorization请求头是否合法传入。                                       |
| 400 | Organizations.1022 | Bad request for query restricted list.                                                                                                                   | 查询受限列表失败                                  | 请联系管理员。                                                          |
| 400 | Organizations.1023 | Bad request for query frozen list.                                                                                                                       | 查询冻结列表失败                                  | 请联系管理员。                                                          |
| 404 | Organizations.1100 | Not found for organization.                                                                                                                              | 组织不存在                                     | 请检查账号是否开通组织服务。                                                   |
| 409 | Organizations.1101 | Conflict for create organization, this account is already a member of an organization.                                                                   | 创建组织发生冲突                                  | 请检查账号是否已经开通组织服务。                                                 |
| 400 | Organizations.1102 | Deletes the organization, you must first remove all member accounts and all organizational units and all policies.                                       | 删除组织失败                                    | 请检查是否已经移除所有的成员账号、组织单元以及策略。                                       |
| 400 | Organizations.1103 | Can not create organization, only for primary account of EM.                                                                                             | 无法创建组织，仅适用于EM的主账号                         | 请检查是否是企业主子账号的主账号。                                                |
| 403 | Organizations.1104 | The current operation has been restricted.                                                                                                               | 操作被受限，不允许访问                               | 请检查账号是否被受限。                                                      |
| 403 | Organizations.1105 | The current operation has been frozen.                                                                                                                   | 操作被冻结，不允许访问                               | 请检查账号是否被冻结。                                                      |
| 404 | Organizations.1200 | Not found for organizational unit.                                                                                                                       | 组织单元不存在                                   | 请检查该组织单元是否存在。                                                    |
| 404 | Organizations.1201 | Not found for a root or organizational unit with the ParentId.                                                                                           | 根据ParentId没有找到root节点或组织单元                 | 请检查该ParentId是否存在。                                                |
| 400 | Organizations.1202 | The organizational unit is not empty.                                                                                                                    | 组织单元非空                                    | 请检查该组织单元是否清空，包括该组织单元下的账号及子组织单元。                                  |
| 400 | Organizations.1203 | Quota exceeded for an organizational unit tree level.                                                                                                    | 超过组织单元最大的树深度配额                            | 请检查是否超过组织单元最大的树深度配额。                                             |
| 400 | Organizations.1204 | Quota exceeded for organizational unit.                                                                                                                  | 超过可以创建的组织单元配额                             | 请检查是否超过可以创建的组织单元配额。                                              |
| 409 | Organizations.1205 | Conflict for organizational unit, an organizational unit names must be unique within a parent.                                                           | 组织单元名称不唯一                                 | 请检查组织单元名称是否在父节点下唯一。                                              |
| 404 | Organizations.1300 | Not found for account.                                                                                                                                   | 账号不存在                                     | 请检查该账号是否存在。                                                      |
| 404 | Organizations.1301 | Not found for create account status.                                                                                                                     | 创建账号状态不存在                                 | 请检查传入的create_account_status_id是否正确。                              |
| 400 | Organizations.1302 | Bad request for wrong source parent id.                                                                                                                  | source_parent_id错误                        | 请检查传入的source_parent_id是否正确。                                      |
| 400 | Organizations.1303 | Bad request for wrong destination parent id.                                                                                                             | destination_parent_id错误                   | 请检查传入的destination_parent_id是否正确。                                 |
| 400 | Organizations.1304 | The management account of the organization or the organization administrator could not leave organization.                                               | 组织的管理账号或管理员账号不能离开组织                       | 请检查离开组织的账号是否是组织的管理账号或管理员账号。                                      |
| 400 | Organizations.1305 | Quota exceeded for account.                                                                                                                              | 组织中的账号超出配额                                | 请检查组织中的账号是否超出配额。                                                 |
| 409 | Organizations.1306 | This account is already a member of an organization. An account can belong to only one organization at a time.                                           | 该账号已经是组织中的成员                              | 请检查该账号是否已经是组织中的成员。                                               |
| 409 | Organizations.1307 | This account is already invited.                                                                                                                         | 该账号已经被邀请                                  | 请检查该账号是否已经被邀请。                                                   |
| 400 | Organizations.1308 | Can not invite account, only for sub-account of EM.                                                                                                      | 不能邀请账号，仅适用于EM的子账号                         | 请检查是否是组织管理员所在企业主子账号的子账号。                                         |
| 400 | Organizations.1309 | This account cannot be invited because it is at a site different from your organization.                                                                 | 不能邀请该账号，因为该账号与当前组织不在同一站点                  | 请检查主账号和被邀请账号是否在同一站点。                                             |
| 400 | Organizations.1310 | This account cannot be invited because its type is currently not supported.                                                                              | 不能邀请该账号，暂不支持邀请该账号类型                       | 请检查账号类型是否为普通账号。 请检查邀请账号与当前账号是否属于同一站点。 |
| 404 | Organizations.1400 | Not found for handshake.                                                                                                                                 | handshake不存在                              | 请检查handshake是否正确。                                                |
| 400 | Organizations.1401 | Bad request for wrong handshake status, this operation can only be applied to a pending handshake.                                                       | handshake状态不正确，该操作只能在handshake为pending时执行 | 请检查handshake的状态是否正确。                                             |
| 400 | Organizations.1402 | Quota exceeded for cancelled handshake per day.                                                                                                          | 超出每天取消handshake的配额                        | 请检查是否超出每天取消handshake的配额。                                         |
| 404 | Organizations.1500 | Not found for delegated administrator.                                                                                                                   | 委托管理员不存在                                  | 请检查委托管理员是否存在。                                                    |
| 409 | Organizations.1501 | Conflict for delegated administrator.                                                                                                                    | 委托管理员冲突                                   | 请检查委托管理员是否存在。                                                    |
| 404 | Organizations.1600 | Not found for policy.                                                                                                                                    | 策略不存在                                     | 请检查该策略是否存在。                                                      |
| 404 | Organizations.1601 | Not found for policy attachment.                                                                                                                         | 策略绑定关系不存在                                 | 请检查该策略的绑定关系。                                                     |
| 404 | Organizations.1602 | Not found for policy attachment entity.                                                                                                                  | 策略需要绑定的实体不存在                              | 请检查该策略需要绑定的实体是否存在。                                               |
| 409 | Organizations.1603 | Conflict for policy attachment.                                                                                                                          | 绑定策略冲突                                    | 请检查该策略在该实体上是否已经存在绑定。                                             |
| 400 | Organizations.1604 | Bad request for existing policy attachment.                                                                                                              | 该策略不存在绑定的实体                               | 请检查该策略是否存在绑定的实体。                                                 |
| 400 | Organizations.1605 | Bad request for modify builtin policy.                                                                                                                   | 内置策略不允许修改                                 | 请检查进行操作的策略是否是内置策略。                                               |
| 400 | Organizations.1606 | Quota exceeded for policy.                                                                                                                               | 超出创建策略的配额                                 | 请检查是否达到策略的配额限制。                                                  |
| 400 | Organizations.1607 | Quota exceeded for service control policy per entity.                                                                                                    | 每一个实体上允许绑定的策略超出配额                         | 请检查该实体上已经绑定的策略是否达到配额限制。                                          |
| 400 | Organizations.1608 | Wrong format for policy content.                                                                                                                         | 策略内容格式错误                                  | 请检查策略的内容是否格式错误。                                                  |
| 404 | Organizations.1609 | Not found for root.                                                                                                                                      | root节点不存在                                 | 请检查输入的root节点ID是否正确。                                              |
| 404 | Organizations.1610 | Not found for root policy type.                                                                                                                          | root节点策略类型不存在                             | 请检查输入参数是否正确。                                                     |
| 400 | Organizations.1611 | Bad request for wrong root policy type status.                                                                                                           | root节点策略类型状态错误                            | 请检查输入参数是否正确。                                                     |
| 409 | Organizations.1612 | Conflict for policy, policy names must be unique within an organization.                                                                                 | 策略名称在同一个组织内不唯一                            | 请检查策略名称在该组织下是否唯一。                                                |
| 400 | Organizations.1613 | Bad request for service control policy disabled.                                                                                                         | 服务控制策略已经禁止                                | 请检查服务控制策略是否被禁止。                                                  |
| 400 | Organizations.1614 | The last policy not allow detach.                                                                                                                        | 最后一个策略不允许解绑                               | 请检查需要解除绑定的策略是否是该实体的最后一个策略。                                       |
| 400 | Organizations.1615 | The policy name not allow all space.                                                                                                                     | 策略名称不能全为空白字符                              | 请检查策略名称是否合法。                                                     |
| 400 | Organizations.1616 | Policy changes in progress.                                                                                                                              | 策略变更正在进行                                  | 请稍后重试。                                                           |
| 400 | Organizations.1617 | Scheduler runtime exception.                                                                                                                             | 启用/禁用策略类型失败                               | 请稍后重试。                                                           |
| 400 | Organizations.1618 | Not supported policy type.                                                                                                                               | 不支持的策略类型                                  | 请检查策略类型是否正确。                                                     |
| 400 | Organizations.1619 | You provided a string parameter that is longer than allowed.                                                                                             | 参数长度超出允许范围                                | 请输入最大长度5120内的参数。                                                 |
| 404 | Organizations.1700 | Not found for tag.                                                                                                                                       | 标签不存在                                     | 请检查标签是否存在。                                                       |
| 404 | Organizations.1701 | Not found for tag resource.                                                                                                                              | 标签所对应的资源不存在                               | 请检查标签对应的资源是否存在。                                                  |
| 409 | Organizations.1702 | Conflict for tag.                                                                                                                                        | 标签已经存在                                    | 请检查该资源是否已经存在该标签。                                                 |
| 400 | Organizations.1703 | Quota exceeded for tag.                                                                                                                                  | 标签超出配额                                    | 请检查标签是否达到配额限制。                                                   |
| 400 | Organizations.1800 | Invalid quota value.                                                                                                                                     | 配额值无效                                     | 请检查输入的配额值是否正确。                                                   |
| 404 | Organizations.1900 | Not found for trusted service.                                                                                                                           | 可信服务不存在                                   | 请检查输入的参数是否正确。                                                    |
| 409 | Organizations.1901 | Conflict for trusted service.                                                                                                                            | 可信服务冲突                                    | 请检查可信服务是否已经存在。                                                   |
| 400 | Organizations.1902 | Delegated administrator is not empty for this service.                                                                                                   | 当前服务委托管理员不能为空                             | 请给当前服务设置委托管理员。                                                   |
| 400 | Organizations.2000 | Bad request for create service linked agency.                                                                                                            | 创建服务关联委托失败                                | 请检查输入的参数是否正确。                                                    |
| 400 | Organizations.2001 | Bad request for missing app_name.                                                                                                                        | 缺少app名称                                   | 请检查是否缺少app名称。                                                    |
| 409 | Organizations.2002 | Conflict for service linked agency, already created.                                                                                                     | 服务关联委托冲突                                  | 请检查是否已经存在该服务关联委托。                                                |
| 400 | Organizations.2003 | Bad request for delete service linked agency.                                                                                                            | 删除服务关联委托失败                                | 请检查输入的参数是否正确。                                                    |
| 404 | Organizations.2004 | Not found for service linked agency.                                                                                                                     | 服务关联委托不存在                                 | 请检查是否存在该服务关联委托。                                                  |
| 404 | Organizations.2005 | Not found for service request for service_principal.                                                                                                     | app名称不存在                                  | 请检查app名称是否正确。                                                    |
| 400 | Organizations.2006 | Bad request for authorization header, jwt token is malformed.                                                                                            | jwt token畸形                               | 请检查jwt token是否正确。                                                |
| 400 | Organizations.2100 | Exactly one of parent id and child id should be provided.                                                                                                | ParentId和ChildId必须填写一个                    | 请检查ParentId和ChildId是否均不存在。                                       |
| 409 | Organizations.2101 | Conflict for service, service_principal and app_name names must be unique.                                                                               | service_principal或app_name冲突，该名称可能已存在     | 请检查service_principal或app_name是否已经存在。                             |
| 404 | Organizations.2102 | Not found for service.                                                                                                                                   | 服务不存在                                     | 请检查传入的service_principal是否正确。                                     |
| 400 | Organizations.2103 | Bad request for list service principal.                                                                                                                  | 获取service_principal错误                     | 请检查输入的参数是否正确。                                                    |
| 404 | Organizations.2104 | Not found for entity.                                                                                                                                    | 实体不存在                                     | 请检查实体id是否正确，如果是新建实体请稍后重试。                                        |
| 400 | Organizations.2105 | Policy type is invalid.                                                                                                                                  | 策略类型无效                                    | 请检查策略类型（tag_policy）。                                             |
| 404 | Organizations.2106 | Not found for service principal from iam, must register at IAM.                                                                                          | service_principal未在IAM进行注册                | 请检查service_principal是否已经在IAM注册。                                  |
| 400 | Organizations.2200 | Time format or range error.                                                                                                                              | 时间格式/范围错误                                 | 请检查输入的参数是否正确。                                                    |
| 400 | Organizations.2201 | Bad request for change customer relation.                                                                                                                | 变更绑定关系失败                                  | 请联系管理员。                                                          |
| 400 | Organizations.2202 | The relation of domain ID has changed too many times.                                                                                                    | 变更绑定关系次数太多                                | 子客户不能频繁变更绑定关系（子客户单月操作不大于10次）。                                    |
| 403 | Organizations.2007 | Bad Request: {0}.                                                                                                                                        | 创建服务关联委托失败                                | 根据填充的错误原因，检查权限是否被授权。                                             |
   
