C_SDK错误码
C SDK 错误码说明
errorId(10/16进制) | 英文描述 | 描述 | 原因 |
8193/ 0x2001 | the parameter is invalid | 参数错误 | 参数不合法。 使用空句柄等 |
8194/ 0x2002 | alloc the memory failed | 分配内存失败 | 可能是当前机器的内存不足 |
8195/ 0x2003 | permission error | 无权限读写文件 | 对一些待读写的文件,是否有读写权限,暂未使用 |
8196/ 0x2004 | the authenticated file is not found | 授权文件不存在 | 未找到授权文件 |
8197/ 0x2005 | the authen file's data format is invalid | 授权文件格式不正确 | 文件可能受损 |
8198/ 0x2006 | exceed the MAX | 超过最大值范围 | 内部错误,访问越界 |
8199/ 0x2007 | The buffer not enough | 分配的存储结果的空间不足 | 内部错误,申请的空间太小 |
8200/ 0x2008 | operator mutex failed | 使用琐错误 | 内部错误,使用多线程同步的接口失败 |
8201/ 0x2009 | field 'coreProvideType' may be invalid in the json of start param field 'request' may be invalid in the json of start param | Start参数中的coreProvideType字段出错 | coreProvideType字段缺失或者设置的值不支持 |
8202/ 0x200a | field 'request' may be invalid in the json of start param | Start参数中的request字段出错 | request字段缺失或者格式不正确 |
8203/ 0x200b | field 'coreType' may be invalid in the json of start param | Start参数中的coreType字段出错 | coreType字段缺失或者设置的值不支持 |
8204/ 0x200c | field 'secretkey' may be invalid in the json of new param | New参数中的secretKey字段出错 | secretKey字段可能缺失或者字段类型错误 |
8205/ 0x200d | field 'appkey' may be invalid in the json of new param | New参数中的appKey字段出错 | appKey字段可能缺失或者字段类型错误 |
8206/ 0x200e | field 'tokenId' may be invalid in the json of start param | Start参数中的tokenId字段出错 | 如果外部指定tokenId,确认类型是否正确,如果未指定,SDK内部会自动生成 |
8207/ 0x200f | sdk internal error, parse connect command json failed | 构建connect cmd命令出错 | 内部错误 |
8208/ 0x2010 | sdk internal error, parse start command json failed | 构建start cmd命令出错 | 内部错误 |
8209/ 0x2011 | field 'native' may be invalid in the json of new param | New参数中的native字段出错 | native字段格式不正确 |
8210/ 0x2012 | native's field 'res' or 'resDirPath' may be invalid in the json of new param | New参数中的native字段出错 | Native的子字段中未找到res或resDirPath字段 |
8211/ 0x2013 | vad resource not found, please check vad resource path | New参数中指定的VAD资源路径不存在 | 配置vad资源的路径错误 |
8212/ 0x2014 | vad's field 'res' may be invalid in the json of new param | New参数中vad字段出错 | Vad的子字段中,未找到res字段 |
8213/ 0x2015 | field 'vad' may be invalid in the json of new param | New参数中vad字段出错 | vad字段缺失或者格式不正确 |
8214/ 0x2016 | parse new param json failed | 解析New参数失败 | 指定的New参数不是合法的json格式 |
8215/ 0x2017 | prof's field 'output' may be invalid in the json of new param,please specify the log path by 'output' field | 未指定日志文件的路径 | 启动日志功能,但是未配置日志文件 |
8216/ 0x2018 | eval's resource not found, please check eval's resource path | New参数指定的native资源路径不存在 | 解析native的子字段配置的离线资源路径错误 |
8217/ 0x2019 | parse start param json failed | 解析start参数失败 | 指定的start参数不是合法的json格式 |
8218/ 0x201a | filed 'audio' may be invalid in the json of start param | Start参数中的audio字段出错 | audio字段缺失或者格式不正确 |
8219/ 0x201b | audio's field 'audioType' may be invalid in the json of start param | Start参数的audioType字段不合法 | audio的子字段audioType缺失或者类型不正确 |
8220/ 0x201c | audio's field 'sampleRate' may be invalid in the json of start param | Start参数的sampleRate字段不合法 | audio的子字段sampleRate缺失或者类型不正确 |
8221/ 0x201d | audio's field 'channel' may be invalid in the json of start param, only support 1 channel | Start参数的channel字段不合法 | audio的子字段channel缺失或者类型不正确 |
8222/ 0x201e | audio's field 'sampleBytes' may be invalid in the json of start param, only support 2 sampleBytes | Start参数的sampleBytes字段不合法 | audio的子字段sampleBytes缺失或者类型不正确 |
8223/ 0x201f | cloud's field 'server' may invalid in the json of new param, check format of url | New参数的server字段不合法 | cloud的子字段server指定的url协议不支持或未指定协议 |
8224/ 0x2020 | cloud's field 'server' may invalid in the json of new param, the url may empty | New参数的server字段不合法 | cloud的子字段server指定的url可能为空 |
8225/ 0x2021 | cloud's field 'server' may invalid in the json of new param, the url didn't contain port | New参数的server字段不合法 | cloud的子字段server指定的url未指定端口号 |
8226/ 0x2022 | parse the dns failed, no avaliable ip was found | 解析DNS失败 | 没有解析到符合条件的IP地址 |
8227/ 0x2023 | check the dns's ip is invalid | 检测ip格式不合法 | DNS获取的IP地址格式不正确 |
8228/ 0x2024 | sdk internal error, the eval's ctx too small | 离线题型申请的空间不足 | 内部错误 |
8229/ 0x2025 | sdk internal error, the request's topic type is invalid | 未指的请求类型 | 内部错误 |
8230/ 0x2026 | sdk internal error, create the websocket handle failed | 创建websocket对象失败 | 有可能申请空间失败 |
8231/ 0x2027 | current SDK not support VAD feature | 不支持VAD功能 | |
8232/ 0x2028 | current SDK not support EVAL feature | 不支持离线测评功能 | |
8233/ 0x2029 | current SDK not support SSL feature | 不支持SSL功能 | |
16385/ 0x4001 | connect to server failed | 连接服务器失败 | 与服务器建立连接失败 |
16386/ 0x4002 | the conection is timeout(connect failed) server no response: the conection is timeout | 连接服务器超时 | 建立连接超时或者等待响应超时 |
16387/ 0x4003 | create accept context or accept client failed or getaddrinfo failed | 服务器接收连接请求失败或者请求解析DNS失败 | |
16388/ 0x4004 | the connection is closed | 检测到服务器端已关闭连接 | 服务器主动或者被动关闭当前连接 |
16389/ 0x4005 | server response error | 服务器返回格式不正确 | 服务器以HTTP协议返回结果 |
16390/0x4006 | Async mode connection error | 异步模式下网络异常 | 异步模式,网络异常,需将所有请求均返回 |
28673/ 0x7001 | may request's field 'coreType' in the json of start param is invalid, check it firstly | 在线测评可能不支持当前题型 | 使用在线测评,设置的coreType非法 |
28674/ 0x7002 | SDK internal error, new handle failed | 创建新的引擎句柄失败 | 暂未使用 |
28675/ 0x7003 | function call's order was illegal | 调用评测接口顺序错误 | 暂未使用 |
28676/ 0x7004 | SDK internal error, create thread handle failed | 创建线程失败 | 内部错误,创建线程失败 |
28677/ 0x7005 | SDK internal error, cloud and its handlers doesn't match | 在线测评模块和对应的处理函数不匹配 | 内部错误 |
28678/ 0x7006 | SDK internal error, eval and its handlers doesn't match | 离线测评模块和对应的处理函数不匹配 | 内部错误 |
28679/ 0x7007 | SDK internal error, vad and its handlers doesn't match | VAD模块和对应的处理函数不匹配 | 内部错误 |
28680/ 0x7008 | function call's order was illegal, from stop to unknow status | 调用评测接口顺序错误 | 调用顺序从stop进入未知状态 |
28681/ 0x7009 | function call's order was illegal, from stop to idle status | 调用评测接口顺序错误 | 调用顺序从stop进入idle状态 |
28682/ 0x700a | function call's order was illegal, from stop to perform status | 调用评测接口顺序错误 | 调用顺序从stop进入perform(feed)状态 |
28683/ 0x700b | function call's order was illegal, from perform to unknow status | 调用评测接口顺序错误 | 调用顺序从perform(feed)进入未知状态 |
28684/ 0x700c | function call's order was illegal, from perform to idle status | 调用评测接口顺序错误 | 调用顺序从perform(feed)进入idle状态 |
28685/ 0x700d | function call's order was illegal, from perform to start status | 调用评测接口顺序错误 | 调用顺序从perform(feed)进入start状态 |
28686/ 0x700e | function call's order was illegal, from start to unknow status | 调用评测接口顺序错误 | 调用顺序从start进入未知状态 |
28687/ 0x700f | function call's order was illegal, from idle to unknow status | 调用评测接口顺序错误 | 调用顺序从idle进入未知状态 |
28688/ 0x7010 | function call's order was illegal, from idle to idle status | 调用评测接口顺序错误 | 从idle进入idle状态 |
28689/ 0x7011 | function call's order was illegal, from idle to stop status | 调用评测接口顺序错误 | 调用顺序从idle进入stop状态 |
28690/ 0x7012 | function call's order was illegal, from idle to perform status | 调用评测接口顺序错误 | 调用顺序从idle进入perform(feed)状态 |
28691/ 0x7013 | check the module's ctx is NULL | 检测到模块的句柄为空 | 可能是某个模块初始化失败 |
28692/ 0x7014 | check the vad's ctx is NULL, check vad's configuration in the json of new param | 检测到VAD模块的句柄为空 | 可能未配置vad或者指定的vad资源路径或资源文件格式错误 |
28693/ 0x7015 | check the cloud's ctx is NULL, check cloud's configuration in the json of new param | 检测到cloud模块的句柄为空 | 可能未配置cloud模块或者配置的格式有误 |
28694/ 0x7016 | check the eval's ctx is NULL, check native's configuration in the json of new param | 检测到native模块的句柄为空 | 可能未配置native或者指定的native资源路径或资源文件格式错误 |
28695/ 0x7017 | check the eval's coreType ctx is NULL, check native's configuration in the json of new param and coreType in the json of start param | 检测到native模块某一题型的句柄为空 | 可能指定的coreType对应的资源路径、格式错误或者未配置。 |
28696/ 0x7018 | in the json of new param, neither contain cloud's configuration nor the native's configuration | New参数中没有配置native或者cloud模块 | 创建引擎时,未配置任何的在线或者离线模块 |
28697/ 0x7019 | ensure you have configured the module before used it | 使用没有配置的模块 | 未对模块做任何的配置,开始使用 |
28698/ 0x701a | ensure you have configured the cloud module before used it | 使用cloud模块但没有配置 | 在创建引擎时,未配置cloud模块,但后面使用此模块 |
28699/ 0x701b | ensure you have configured the native module before used it | 使用native模块但没有配置 | 在创建引擎时,未配置native模块,但后面使用此模块 |
28700/ 0x701c | ensure you have configured the native coreType's resource before used it | 使用native模块的某一题型,但是未配置 | 在创建引擎时,未配置native模块的某一题型(coreType),但后面使用该题型 |
28701/ 0x701d | SDK doesn't support this coreType in native module, please try cloud module | Native模块不支持此种题型 | 离线测评,指定的coreType类型,不支持 |
28702/ 0x701e | not found the module handlers | 未找到模块对应的处理函数 | 内部错误 |
28703/ 0x701f | not found the cloud's handlers | 未找到cloud模块对应的处理函数 | 内部错误 |
28704/ 0x7020 | not found the vad's handlers | 未找到vad模块对应的处理函数 | 内部错误 |
28705/ 0x7021 | not found the eval's handlers | 未找到native模块对应的处理函数 | 内部错误 |
28706/ 0x7022 | check the format of vad's resource is invalid, please use the lastest resource | 解析vad资源文件失败 | 当前的SDK解析VAD文件失败,可使用最新的资源文件 |
28707/ 0x7023 | check the format of eval's resource is invalid, please use the lastest resource | 解析native资源文件失败 | 当前的SDK解析离线资源文件失败,可使用最新的资源文件 |
28708/ 0x7024 | retry to evacuate failed, may not contain 'stop topic' | 测评失败后,SDK使用重新机制时,检测到缺少数据包 | 一次完整的评测流程需要start/feed/stop数据包,但是检测到数据包不全 |
28709/0x7025 | Coretype must be the same in async mod | 异步模式多次请求题型不同 | 异步模式下,连续进行的多次评测题型必须相同 |
60015 | Authentication failure | 认证失败 | 授权可能过期 |