logo
In-app Chat
SDK Error Codes
Powered Byspreading
On this page

ZIM Audio SDK error codes

We recommend that you use the ZIM Audio SDK of the latest version for better experience.

Overview

This topic describes solutions to network and media errors that cannot be automatically fixed in the ZIM Audio SDK of the latest version.

If the errorCode field exists in the return result after an API is called, the API call is abnormal. The sample code is as follows:

Untitled
- (void)onError:(ZIMAudioError *)errorInfo{
    NSLog(@"errorCode%lu,%@",(unsigned long)errorInfo.code,errorInfo.message);
}
1
Copied!

Error codes

Error codeDescriptionSolution
0Success. None.
1Unknown error.Contact ZEGOCLOUD technical support for troubleshooting.
2Other APIs of the ZIM Audio SDK are called before the SDK is initialized. Initialize the SDK.
3Invalid path. Make sure that the input parameters are valid.
4Invalid parameter. Make sure that the input parameters are valid.
5The target file cannot be opened, possibly because the file format or content is invalid. Make sure that the file format and content is valid.
6Insufficient space for file writing. Make sure that the disk has sufficient space to use the SDK.
7No read/write permission on the path. Check the permission configuration.
8I/O error. Contact ZEGOCLOUD technical support for troubleshooting.
11Encoding error. Contact ZEGOCLOUD technical support for troubleshooting.
12Decoding error. Contact ZEGOCLOUD technical support for troubleshooting.
13API call error. Contact ZEGOCLOUD technical support for troubleshooting.
14Internal logic error. Contact ZEGOCLOUD technical support for troubleshooting.
15Internal log module error. Contact ZEGOCLOUD technical support for troubleshooting.
31General recorder error. Contact ZEGOCLOUD technical support for troubleshooting.
32Recording duration too short. Record again after the onRecorderStarted callback is received.
51General player error. Contact ZEGOCLOUD technical support for troubleshooting.
81Invalid license. Make sure that the license is valid.
82Expired license. Apply for another license and re-initialize the SDK.
83Features are unavailable because the service is not activated. Contact ZEGOCLOUD technical support to activate the service.

Previous

ZPNs

Next

Migration solution