通用錯誤碼
更新時間 2025-04-23 15:02:42
最近更新時間: 2025-04-23 15:02:42
分享文章
本節主要介紹接口的通用錯誤碼。
| HTTP status | 錯誤碼 | 錯誤信息 | 說明 |
|---|---|---|---|
| 400 | BadDigest | The Content-MD5 you specified does not match what HBlock received. | Content-MD5的值和請求體的MD5不一致。 |
| 400 | ClusterModeNotAllowed | 'operation' is not supported by cluster mode of HBlock. | 集群版本HBlock不支持該操作。 |
| 400 | IncompleteBody | You did not provide the number of bytes specified by the Content-Length HTTP header. | 請求體長度不足Content-Length請求頭指定的長度。 |
| 400 | InsufficientServerSpace | This method is not allowed because the free space of directory must be greater than or equal to value for server serverId[, serverId...]. | 服務器存儲空間不足,無法執行操作。 |
| 400 | InvalidArgument | Value empty at 'argument' failed to satisfy constraint: Argument must not be empty. | Json 數組長度不能為0。 |
| 400 | InvalidBoolean | Value value at 'argument' failed to satisfy constraint: Argument must be boolean. | 布爾類型不合法。 |
| 400 | InvalidFilter | Value value at 'filter' failed to satisfy constraint: Argument must use a single colon (':' means fuzzy match) or two colons ('::' means exact match) to separate the attribute key and value. If you query multiple attributes, you can use 'and' or 'or' keywords to separate them, and there must be spaces before and after 'and' or 'or'. | filter參數不合法。 |
| 400 | InvalidHeader | Invalid HTTP header, headerName. | 請求頭格式不合法。 |
| 400 | InvalidInteger | Value value at 'argument' failed to satisfy constraint: Argument must be integer. | 值必須為整數。 |
| 400 | InvalidArgumentLength | Value value at 'argument' failed to satisfy constraint: Argument must not exceed value characters. | 參數長度錯誤。 |
| 400 | InvalidPackage | Invalid package. Please get the correct package. | 安裝包無效。 |
| 400 | InvalidRequest | Unable to parse request url. | URL解析失敗。 |
| 400 | InvalidRequestBody | Invalid request body. | 請求無效。 |
| 400 | InvalidStatus | Value value at 'argument' failed to satisfy constraint: Argument must satisfy enum value set: [Enabled, Disabled]. | 輸入的參數值不對。 |
| 400 | InvalidString | Value '' at 'argument' failed to satisfy constraint: Argument must not be an empty string. | 參數不能是空字符串。 |
| 400 | LoadConfigFailed | Failed to load configuration files. | 加載配置文件失敗。 加載配置文件需要滿足以下條件:
|
| 400 | MissingArgument | Value null at 'argument' failed to satisfy constraint: Argument must not be null. | Json參數不能為空。 |
| 400 | MissingHeader | Missing HTTP header headerName. | 請求頭Host不能為空。 |
| 400 | NotInitialized | HBlock is not initialized. | HBlock未初始化。 |
| 400 | NotInstalled | HBlock is not installed. | HBlock未安裝。 |
| 400 | RequestTimeout | No response received. Please check if there are any network issues and if the operation was successfully executed. | 未收到響應,請檢查是否存在網絡問題,以及操作是否執行成功。 |
| 400 | StandaloneModeNotAllowed | 'operation' is not supported by standalone mode of HBlock. | 單機版不支持該操作。 |
| 403 | LicenseExpired | The software license has expired. | 軟件許可證過期。 |
| 403 | PermissionDenied | Failed to action because user has no permission. | 用戶的權限不足導致操作失敗。 |
| 403 | SignatureDoesNotMatch | Signature does not match. Please check your user name, password and signing method for server(s) [, serverIP ...]. | 簽名不正確。請檢查用戶名、密碼和簽名方法。 |
| 400 | SystemDataDegraded | There is low redundancy or error data in the system, operation is not allowed. Please repair fault domains and disk paths. | 系統中存在低冗余或錯誤數據,不允許操作。請修復故障域和磁盤路徑。 |
| 403 | TrialExpired | The software trial version has expired. | 軟件試用期已過期。 |
| 405 | InvalidMethod | The specified method does not exist. | 指定的方法不存在。 |
| 409 | InvalidLUNStatus | The status of LUN 'lunname' is 'status', the request is invalid. | LUN當前的狀態不正確,請求無效。 |
| 409 | InvalidServerStatus | The server serverId status is 'status', the request is invalid. | 服務器當前的狀態不正確,請求無效。 |
| 409 | InvalidStorStatus | The HBlock status is 'status', the request is invalid. | HBlock當前的狀態不正確,請求無效。 |
| 409 | InvalidTargetStatus | The Target status is 'status', the request is invalid. | Target當前的狀態不正確,請求無效。 |
| 500 | InsufficientResource | Operation failed due to insufficient resources. | 內存或其他資源不足,操作失敗。 |
| 500 | InternalError | HBlock encountered an internal error. Please try again or contact the software vendor. | 請重試或者聯系軟件供應商。 |
| 503 | SlowDown | Please reduce your request rate. | 服務端繁忙,請降低請求頻率。 |