| Error Code Key | Error Code Value | Error Code Remarks |
|---|---|---|
| ZegoDocsViewSuccess | 0 | Successful execution. |
| Common Error Code Range | ||
| ZegoDocsViewErrorInternal | 2000001 | Internal error. |
| ZegoDocsViewErrorParamInvalid | 2000002 | Parameter error, please pay attention to the specific information output from the console. |
| ZegoDocsViewErrorNetworkTimeout | 2000003 | Network timeout. |
| File Upload Error Code | ||
| ZegoDocsViewErrorFileNotExist | 2010001 | The corresponding local file cannot be found. The possible reasons are:
|
| ZegoDocsViewErrorUploadFailed | 2010002 | Upload failed. |
| ZegoDocsViewErrorUnsupportRenderType | 2010003 | The rendering mode is not supported. |
| Format Conversion Error Code | ||
| ZegoDocsViewErrorFileEncrypt | 2020001 | The file that needs to be transcoded is encrypted. The possible reasons are:
|
| ZegoDocsViewErrorFileSizeLimit | 2020002 | The file content is too large. The possible reasons are:
|
| ZegoDocsViewErrorFileSheetLimit | 2020003 | There are too many pages in the file. The possible reasons are:
|
| ZegoDocsViewErrorConvertFail | 2020004 | Format conversion failed. |
| ZegoDocsViewErrorConvertCancel | 2020005 | Format conversion was canceled. |
| ZegoDocsViewErrorFileContentEmpty | 2020006 | The content of the file is empty. The possible reasons are:
|
| ZegoDocsViewErrorFileReadOnly | 2020007 | The file is in read-only mode. The possible reasons are:
|
| ZegoDocsViewErrorConvertElementNotSupported | 2020008 | There are elements in the source file that do not support transcoding. |
| ZegoDocsViewErrorConvertFileTypeInvalid | 2020009 | The file extension does not conform to the file specification defined by ZEGO. |
| SDK Interface Call | ||
| ZegoDocsViewErrorAuthParamInvalid | 2030001 | Authentication parameter error. |
| ZegoDocsViewErrorFilePathNotAccess | 2030002 | Insufficient path permissions, possible reasons are:
|
| ZegoDocsViewErrorInitFailed | 2030003 | Initialization failed. |
| ZegoDocsViewErrorSizeInvalid | 2030004 | Please make sure to read the effective width and height of the current ZegoDocsView before calling loadFileWithFileID. |
| ZegoDocsViewErrorFreeSpaceLimit | 2030005 | Insufficient local space. |
| ZegoDocsViewErrorUploadNotSupported | 2030006 | File upload function is not supported. |
| ZegoDocsViewErrorUploadDuplicated | 2030007 | The same file is being uploaded. |
| ZegoDocsViewErrorEmptyDomain | 2030008 | Empty domain name. |
| ZegoDocsViewErrorHaveInit | 2030009 | Initialized. |
| ZegoDocsViewErrorServerFileNotExist | 2030010 | The corresponding transcoded file cannot be found. The possible reasons are:
|
| ZegoDocsViewErrorLogFolderNotAccess | 2030011 | The log directory set during initialization cannot be created or written. |
| ZegoDocsViewErrorCacheFolderNotAccess | 2030012 | The cache directory set during initialization cannot be created or written. |
| ZegoDocsViewErrorDataFolderNotAccess | 2030013 | The data directory set during initialization cannot be created or written. |
| ZegoDocsViewErrorCacheNotSupported | 2030014 | This file is not supported for preloading. Please contact ZEGO technical support. Possible reasons include:
|
| ZegoDocsViewErrorCacheFailed | 2030015 | Pre-loading failed, possible reasons include:
|
| ZegoDocsViewErrorZipFileInvalid | 2030016 | Invalid ZIP file, possible reasons include:
|
| ZegoDocsViewErrorH5FileInvalid | 2030017 | The invalid H5 file does not conform to the H5 file specification defined by ZEGO. Possible reasons include:
|
| H5 Bridge Layer Error Codes | ||
| ZegoBridgeErrorNotReady | 10001 | H5 will appear without calling getReady. |
| ZegoBridgeErrorParamInvalid | 10002 | Parameter error occurs when the parameters of the H5 calling script interface do not meet the requirements. |
| ZegoBridgeErrorRecordListLimit | 10003 | recordList byte length exceeds the limit, H5 call operation related interface causes the current page recordList to exceed the maximum length limit (the maximum length after base64 is 948 bytes). |
| ZegoBridgeErrorH5 | 10006 | H5 Internal code execution error. |
