狀態碼
更新時間 2023-12-07 17:42:01
最近更新時間: 2023-12-07 17:42:01
分享文章
未細分類通用碼
| errorCode | 說明 | 訂單狀態相關性說明 | http status code | description | message |
|---|---|---|---|---|---|
| openapi.implementation.error | 服務端實現錯誤 | 無 | 500 | 實現錯誤 | implmentation error |
| openapi.requestParse.jsonExpected | 內部錯誤,內部系統交互問題 | 無 | 500 | 請求來源非法 | injected request not expected |
| openapi.requestParse.accessKeyInvalid | 內部錯誤,內部系統交互問題。 EOP系統轉發問題,需求方無需處理。 |
無 | 500 | 非OpenAPI準入的ess key invalid | |
| openapi.requestParse.eopInvalidRejection | 請求格式非法 | 無 | 400 | 請求格式非法 | request should be http POSTed json |
| openapi.requestParse.emptyRequest | 請求為空 | 無 | 400 | 請求為空 | request should not be empty |
| openapi.parameter.xxxx | 無 | 400 | 請求參數錯誤: xxx | request param error: xxx | |
| openapi.admin.accessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| openapi.userPermission.accessFailed | 無 | 200 | 系統錯誤 | access internal service failed | |
| openapi.yacos.accessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| openapi.workorder.accessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| openapi.ctyunPlatform.accessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| openapi.charge.fused | 訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| openapi.innerSys.accessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
訂單類結果碼
| errorCode | 說明 | 訂單狀態相關性說明 | http status code | description | message |
|---|---|---|---|---|---|
| disaster.order.accessFailed | 訂單系統訪問失敗,可使用clientToken重試訂單 | 訂單狀態未知,需要使用clientToken重試訂單 | 200 | 訪問訂單系統失敗:訂單狀態未知,使用clientToken重bss failed: order status unknown, retry this order using clientToken | |
| disaster.order.inProgress | 訂單處理中,可使用訂單ID查詢確認或使用原clientToken重試下單 | 需要使用clientToken重試訂單。也可以使用返回的訂單ID,查詢訂單狀態 | 200 | 訂單處理clientToken重試下單 | order in progress |
| disaster.Order.ProcFailed | 訂單處理失敗。無需重試。通過errorDetail確認具體失敗原因 | 無 | 200 | 訂單處理失敗 | order proc failed |
| disaster.order.orderChanged | 訂單狀態變更,比如發生了撤單,取消等。 | 無 | 200 | 訂單已取消或撤單 | order changed |
| disaster.order.accepted | 訂單已成功,資源創建中。 可以使用clientToken或者返回的masterOrderID重試訂單,以確認訂單狀態。 此時不返回masterResourceID及resources |
需試訂單。也可以使用返回的訂單ID,查詢訂單狀態 | 200 | 資源處理中。請稍后使用masterOrderID或者clientToken重試訂單以確認狀態 | order accepted,resource processing |
| disaster.order.userFrozen | 用戶受限,可能是被凍結的賬戶,或者余額不足 | 無 | 200 | 用戶受限,可能是被凍結的賬戶,或者余額不足 | account forbidden; maybe freezen or credit not enough |
| disaster.order.userQuotaLimited | 用戶配額不足,是BSS側下單時返回的配額問題(實時配額) | 無 | 200 | 用戶配額不足 | user's quotas not enough |
| disaster.order.regionServiceAccessFailed | 訪問資源池失敗 | 無 | 200 | 資源池資源服務訪問失敗 | access region service failed |
| disaster.order.unexpectedResponse | 訂單返回響應不符合預期 | 無 | 200 | 訂單數據異常 | order info damaged |
| disaster.order.resourceDeployFailed | 資源施工失敗 | 無 | 200 | 資源施工失敗 | resource process failed |
| disaster.orderCheck.invalidName | 名稱非法 | 無 | 200 | 云硬盤名稱錯誤,僅允許英文字母數字及_或者-,且長度為2-63字符 | name invalid |
| disaster.orderCheck.userForbiddenOnDemand | 用戶不允許創建按需訂購資源 | 無 | 200 | 用戶不允許訂購按需類訂單 | user not allowed place ondemand order |
| disaster.orderCheck.invalidProjectID | 訂單關聯的projectID不存在 | 無 | 200 | 企業項目ID不存在 | projectID invalid |
內部系統間訪問結果碼
| errorCode | http status code | description | message |
|---|---|---|---|
| disaster.regionInfo.accessFailed | 200 | 查詢資源池失敗 | querying region failed |
| disaster.regionInfo.empty | 200 | 資源池信息為空 | region info empty |
| disaster.regionInfo.dataDamaged | 200 | 資源池信息不符預期 | region info data damaged |
| disaster.userPermission.accessFailed | 200 | 查詢用戶權限失敗 | querying user permission failed |
| disaster.userPermission.empty | 200 | 用戶權限信息為空 | user permission empty |
| disaster.userPermission.dataDamaged | 200 | 用戶權限信息不符預期 | user permission data damaged |
| disaster.userDetail.accessFailed | 200 | 查詢用戶詳情失敗 | querying user detail failed |
| disaster.userDetail.empty | 200 | 用戶詳情信息為空 | user detail info empty |
| disaster.userDetail.dataDamaged | 200 | 用戶詳情信息不符預期 | user detail info damaged |
| disaster.userQuota.accessFailed | 200 | 查詢用戶配額失敗 | querying user quota info failed |
| disaster.userQuota.empty | 200 | 用戶配額信息為空 | user quota info empty |
| disaster.userQuota.dataDamaged | 200 | 用戶配額信息不符預期 | user qutoa info damaged |
| disaster.resourceInfo.accessFailed | 200 | 查詢資源失敗 | querying resource info failed |
| disaster.resourceInfo.notExists | 200 | 資源信息不存在 | resource info not exists |
| disaster.resourceInfo.dataDamaged | 200 | 資源信息不符預期 | resource info damaged |
| disaster.resourceOrderInfo.accessFailed | 200 | 查詢資源訂單信息失敗 | querying resource order info failed |
| disaster.resourceOrderInfo.notExists | 200 | 資源訂單信息不存在 | resource order info not exists |
| disaster.resourceOrderInfo.dataDamaged | 200 | 資源訂單信息不符預期 | resource order info damaged |
| disaster.userConsumption.accessFailed | 200 | 查詢用戶已用資源量失敗 | querying user consumption failed |
| disaster.userConsumption.empty | 200 | 用戶已用資源信息為空 | user consumption info empty |
| disaster.userConsumption.dataDamaged | 200 | 用戶已用資源信息不符預期 | user consumption info damaged |
| disaster.userResources.accessFailed | 200 | 查詢用戶資源信息失敗 | querying user resources failed |
| disaster.userResources.dataDamaged | 200 | 用戶資源信息不符預期 | user resources info damaged |
| disaster.userVisibleRegions.accessFailed | 200 | 查詢用戶可見資源池失敗 | querying user visible regions failed |
| disaster.userVisibleRegions.dataDamaged | 200 | 用戶可見資源池信息不符預期 | user visible regions info damaged |
| disaster.common.serviceStatusError | 200 | 云容災服務狀態異常 | disaster service error |
| disaster.common.pairAccessError | 200 | 云容災保護組信息獲取異常 | disaster pair info access failed |
| disaster.DisasterPairCreateProcor.invalidCreate | 200 | 創建云容災保護組失敗 | Create invalid |
| disaster.DisasterPairParamFilter.invalidName | 200 | 只能由英文、數字和特殊字符 - ,且只能以英文開頭,以英文或數字結尾,長度為 2-60 字 | name invalid |
| disaster.DisasterPairUpdateProcor.invalidCreate | 200 | 更新云容災保護組失敗 | update invalid |
| disaster.DisasterProtectionEcsChecker.ProtectionEcsError | 200 | 云容災保護云主機獲取異常 | query disaster protection ecs failed |
| disaster.ProtectionAvailableEcsChecker.AvailableEcsError | 200 | 保護組可添加的云主機異常 | failed to query ecs that can be added to the protection pair |
| disaster.DisasterPairDeleteProcor.invalidDelete | 200 | 刪除云容災保護組失敗 | delete invalid |
| disaster.DisasterEcsAddProcor.invalidAdd | 200 | 添加受保護云主機失敗 | Add invalid |
| disaster.DisasterEcsRefundProcor.invalidRefund | 200 | 注銷受保護云主機失敗 | Refund invalid |
| disaster.DisasterEcsExistChecker.invalidEcs | 200 | 云主機不存在于保護組 | Ecs invalid |
| disaster.DisasterEcsStatesChecker.invalidEcs | 200 | 云主機狀態異常 | Ecs State invalid |
| disaster.DisasterReplicationActionProcor.invalidReplication | 200 | 啟動復制異常 | Start Replication invalid |
| disaster.DisasterReplicationActionProcor.invalidAction | 200 | 操作異常 | Replication Action invalid |
| disaster.DisasterFailoverDrillProcor.drillAction | 200 | 容災演練異常 | Failover drill invalid |
| disaster.DisasterFailoverDrillProcor.drillAction | 200 | 容災演練狀態異常 | Failover drill state error |
| disaster.DisasterRestorePointProcor.RestorePointError | 200 | 云容災恢復點信息獲取異常 | disaster restore point info access failed |
| disaster.DisasterFailoverCleareProcor.cleareAction | 200 | 清空容災演練異常 | Failover cleare invalid |
| disaster.DisasterFailoverProcor.failoverAction | 200 | 故障切換異常 | Failover invalid |
| disaster.DisasterRestoreReplaceProcor.replaceAction | 200 | 更換異常 | Replace invalid |
| disaster.DisasterConfirmFailoverProcor.confirmAction | 200 | 確認異常 | confirm invalid |
| disaster.DisasterProtectionTaskProcor.ProtectionTaskError | 200 | 云容災保護組任務獲取異常 | query disaster protection task failed |
| disaster.DisasterNetworkFlowProcor.FlowError | 200 | 云容災網絡獲取異常 | query disaster network flow failed |
| disaster.DisasterAvailableEcsProcor.EcsError | 200 | 云容災可保護云主機獲取異常 | query disaster available ecs error |
未細分類通用碼(大駝峰格式)
| error | 說明 | 訂單狀態相關性說明 | http status code | description | message |
|---|---|---|---|---|---|
| Openapi.Implementation.Error | 服務端實現錯誤 | 無 | 500 | 實現錯誤 | implmentation error |
| Openapi.RequestParse.JsonExpected | 內部錯誤,內部系統交互問題 | 無 | 500 | 請求來源非法 | injected request not expected |
| Openapi.RequestParse.AccessKeyInvalid | 內部錯誤,內部系統交互問題。 EOP系統轉發問題,需求方無需處理。 |
無 | 500 | 非OpenAPI準入的ess key invalid | |
| Openapi.RequestParse.EopInvalidRejection | 請求格式非法 | 無 | 400 | 請求格式非法 | request should be http POSTed json |
| Openapi.RequestParse.EmptyRequest | 請求為空 | 無 | 400 | 請求為空 | request should not be empty |
| Openapi.Parameter.xxxx | 無 | 400 | 請求參數錯誤: xxx | request param error: xxx | |
| Openapi.Admin.AccessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| Openapi.UserPermission.AccessFailed | 無 | 200 | 系統錯誤 | access internal service failed | |
| Openapi.Yacos.AccessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| Openapi.Workorder.AccessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| Openapi.CtyunPlatform.AccessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| Openapi.Charge.Fused | 訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
| Openapi.InnerSys.AccessFailed | OpenAPI訪問內部系統失敗 | 無 | 200 | 系統錯誤 | access internal service failed |
訂單類結果碼(大駝峰格式)
| error | 說明 | 訂單狀態相關性說明 | http status code | description | message |
|---|---|---|---|---|---|
| Disaster.Order.AccessFailed | 訂單系統訪問失敗,可使用clientToken重試訂單 | 訂單狀態未知,需要使用clientToken重試訂單 | 200 | 訪問訂單系統失敗:訂單狀態未知,使用clientToken重bss failed: Order status unknown, retry this Order using clientToken | |
| Disaster.Order.InProgress | 訂單處理中,可使用訂單ID查詢確認或使用原clientToken重試下單 | 需要使用clientToken重試訂單。也可以使用返回的訂單ID,查詢訂單狀態 | 200 | 訂單處理clientToken重試下單 | Order in progress |
| Disaster.Order.ProcFailed | 訂單處理失敗。無需重試。通過errorDetail確認具體失敗原因 | 無 | 200 | 訂單處理失敗 | Order proc failed |
| Disaster.Order.OrderChanged | 訂單狀態變更,比如發生了撤單,取消等。 | 無 | 200 | 訂單已取消或撤單 | Order changed |
| Disaster.Order.Accepted | 訂單已成功,資源創建中。 可以使用clientToken或者返回的masterOrderID重試訂單,以確認訂單狀態。 此時不返回masterResourceID及resources |
需試訂單。也可以使用返回的訂單ID,查詢訂單狀態 | 200 | 資源處理中。請稍后使用masterOrderID或者clientToken重試訂單以確認狀態 | Order accepted,resource processing |
| Disaster.Order.UserFrozen | 用戶受限,可能是被凍結的賬戶,或者余額不足 | 無 | 200 | 用戶受限,可能是被凍結的賬戶,或者余額不足 | account forbidden; maybe freezen or credit not enough |
| Disaster.Order.UserQuotaLimited | 用戶配額不足,是BSS側下單時返回的配額問題(實時配額) | 無 | 200 | 用戶配額不足 | user's quotas not enough |
| Disaster.Order.RegionServiceAccessFailed | 訪問資源池失敗 | 無 | 200 | 資源池資源服務訪問失敗 | access region service failed |
| Disaster.Order.UnexpectedResponse | 訂單返回響應不符合預期 | 無 | 200 | 訂單數據異常 | Order info damaged |
| Disaster.Order.ResourceDeployFailed | 資源施工失敗 | 無 | 200 | 資源施工失敗 | resource process failed |
| Disaster.OrderCheck.InvalidName | 名稱非法 | 無 | 200 | 云硬盤名稱錯誤,僅允許英文字母數字及_或者-,且長度為2-63字符 | name invalid |
| Disaster.OrderCheck.UserForbiddenOnDemand | 用戶不允許創建按需訂購資源 | 無 | 200 | 用戶不允許訂購按需類訂單 | user not allowed place ondemand Order |
| Disaster.OrderCheck.InvalidProjectID | 訂單關聯的projectID不存在 | 無 | 200 | 企業項目ID不存在 | projectID invalid |
內部系統間訪問結果碼(大駝峰格式)
| error | http status code | description | message |
|---|---|---|---|
| Disaster.RegionInfo.AccessFailed | 200 | 查詢資源池失敗 | querying region failed |
| Disaster.RegionInfo.Empty | 200 | 資源池信息為空 | region info empty |
| Disaster.RegionInfo.DataDamaged | 200 | 資源池信息不符預期 | region info data damaged |
| Disaster.UserPermission.AccessFailed | 200 | 查詢用戶權限失敗 | querying user permission failed |
| Disaster.UserPermission.Empty | 200 | 用戶權限信息為空 | user permission empty |
| Disaster.UserPermission.DataDamaged | 200 | 用戶權限信息不符預期 | user permission data damaged |
| Disaster.UserDetail.AccessFailed | 200 | 查詢用戶詳情失敗 | querying user detail failed |
| Disaster.UserDetail.Empty | 200 | 用戶詳情信息為空 | user detail info empty |
| Disaster.UserDetail.DataDamaged | 200 | 用戶詳情信息不符預期 | user detail info damaged |
| Disaster.UserQuota.AccessFailed | 200 | 查詢用戶配額失敗 | querying user quota info failed |
| Disaster.UserQuota.Empty | 200 | 用戶配額信息為空 | user quota info empty |
| Disaster.UserQuota.DataDamaged | 200 | 用戶配額信息不符預期 | user qutoa info damaged |
| Disaster.ResourceInfo.AccessFailed | 200 | 查詢資源失敗 | querying resource info failed |
| Disaster.ResourceInfo.NotExists | 200 | 資源信息不存在 | resource info not exists |
| Disaster.ResourceInfo.DataDamaged | 200 | 資源信息不符預期 | resource info damaged |
| Disaster.ResourceOrderInfo.AccessFailed | 200 | 查詢資源訂單信息失敗 | querying resource order info failed |
| Disaster.ResourceOrderInfo.NotExists | 200 | 資源訂單信息不存在 | resource order info not exists |
| Disaster.ResourceOrderInfo.DataDamaged | 200 | 資源訂單信息不符預期 | resource order info damaged |
| Disaster.UserConsumption.AccessFailed | 200 | 查詢用戶已用資源量失敗 | querying user consumption failed |
| Disaster.UserConsumption.Empty | 200 | 用戶已用資源信息為空 | user consumption info empty |
| Disaster.UserConsumption.DataDamaged | 200 | 用戶已用資源信息不符預期 | user consumption info damaged |
| Disaster.UserResources.AccessFailed | 200 | 查詢用戶資源信息失敗 | querying user resources failed |
| Disaster.UserResources.DataDamaged | 200 | 用戶資源信息不符預期 | user resources info damaged |
| Disaster.UserVisibleRegions.AccessFailed | 200 | 查詢用戶可見資源池失敗 | querying user visible regions failed |
| Disaster.UserVisibleRegions.DataDamaged | 200 | 用戶可見資源池信息不符預期 | user visible regions info damaged |
| Disaster.Common.ServiceStatusError | 200 | 云容災服務狀態異常 | disaster service error |
| Disaster.Common.PairAccessError | 200 | 云容災保護組信息獲取異常 | disaster pair info access failed |
| Disaster.DisasterPairCreateProcor.InvalidCreate | 200 | 創建云容災保護組失敗 | Create invalid |
| Disaster.DisasterPairParamFilter.InvalidName | 200 | 只能由英文、數字和特殊字符 - ,且只能以英文開頭,以英文或數字結尾,長度為 2-60 字 | name invalid |
| Disaster.DisasterPairUpdateProcor.InvalidCreate | 200 | 更新云容災保護組失敗 | update invalid |
| Disaster.DisasterProtectionEcsChecker.ProtectionEcsError | 200 | 云容災保護云主機獲取異常 | query disaster protection ecs failed |
| Disaster.ProtectionAvailableEcsChecker.AvailableEcsError | 200 | 保護組可添加的云主機異常 | failed to query ecs that can be added to the protection pair |
| Disaster.DisasterPairDeleteProcor.InvalidDelete | 200 | 刪除云容災保護組失敗 | delete invalid |
| Disaster.DisasterEcsAddProcor.InvalidAdd | 200 | 添加受保護云主機失敗 | Add invalid |
| Disaster.DisasterEcsRefundProcor.InvalidRefund | 200 | 注銷受保護云主機失敗 | Refund invalid |
| Disaster.DisasterEcsExistChecker.InvalidEcs | 200 | 云主機不存在于保護組 | Ecs invalid |
| Disaster.DisasterEcsStatesChecker.InvalidEcs | 200 | 云主機狀態異常 | Ecs State invalid |
| Disaster.DisasterReplicationActionProcor.InvalidReplication | 200 | 啟動復制異常 | Start Replication invalid |
| Disaster.DisasterReplicationActionProcor.InvalidAction | 200 | 操作異常 | Replication Action invalid |
| Disaster.DisasterFailoverDrillProcor.DrillAction | 200 | 容災演練異常 | Failover drill invalid |
| Disaster.DisasterFailoverDrillProcor.DrillAction | 200 | 容災演練狀態異常 | Failover drill state error |
| Disaster.DisasterRestorePointProcor.RestorePointError | 200 | 云容災恢復點信息獲取異常 | disaster restore point info access failed |
| Disaster.DisasterFailoverCleareProcor.CleareAction | 200 | 清空容災演練異常 | Failover cleare invalid |
| Disaster.DisasterFailoverProcor.FailoverAction | 200 | 故障切換異常 | Failover invalid |
| Disaster.DisasterRestoreReplaceProcor.ReplaceAction | 200 | 更換異常 | Replace invalid |
| Disaster.DisasterConfirmFailoverProcor.ConfirmAction | 200 | 確認異常 | confirm invalid |
| Disaster.DisasterProtectionTaskProcor.ProtectionTaskError | 200 | 云容災保護組任務獲取異常 | query disaster protection task failed |
| Disaster.DisasterNetworkFlowProcor.FlowError | 200 | 云容災網絡獲取異常 | query disaster network flow failed |
| Disaster.DisasterAvailableEcsProcor.EcsError | 200 | 云容災可保護云主機獲取異常 | query disaster available ecs error |